Quiz4prepare - Lesson 5 review Essentials of counter-controlled repetition Counter-controlled repetition requires name initial value increment or

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lesson 5 review: Essentials of counter-controlled repetition: Counter-controlled repetition requires: name, initial value, increment or decrement, condition that tests for final value ( whether it should continue the looping ) for ( int counter = 1; counter <= 10; counter++ ) g.drawLine ( 10, 10, 250, counter * 10 ); GREAT EXAMPLES on section 5.4 of the lessons logical operators: section 5.9 in lesson #5, page 9 Lesson 6 Review: Methods method is invoked by a method call, a method call specifies the method name and provides information that the called method needs to do its task. Math class methods: section 6.3, end of page 1 java programs can define multiple methods with the same name, as long as the methods have different parameter lists argument promotion: java rules to specify how types can be converted to other types without losing data, page 5 JAVA API packages start on page 5 the scope of an identifier for a variable, reference, or method is the portion of the program in which the identifier can be referenced. Recursion: a recursive method is a method that calls itself either directly or indirectly through another method Japplet methods are called automatically during an applets execution: page 19
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/25/2010 for the course MAT 443 taught by Professor Roberts during the Winter '10 term at University of Arizona- Tucson.

Page1 / 4

Quiz4prepare - Lesson 5 review Essentials of counter-controlled repetition Counter-controlled repetition requires name initial value increment or

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online