Test 2: Monday Nov 9th Many of these questions would ask: What output would the following program generate? Try the samples yourself, compile copies and run them to be sure you are prepared. Test 2 covers material from chapter 3 formatting classes through chapter 6, passing parameters. Topics: Scanning a String compareTo control structures: (q5) if if - else while do - while for Use a class (q3) Write methods for a class (q4) Calling static methods (void and return) passing primitive parameters by value passing references to objects Write an expression (see page 96 in text for samples). Call the format method for a formatting object (ch 3). ******************************************************************* |\ |\ \ /|\ |\ |\ /| William Austad (8-{D> |\ | ) / | |\ | X | E-mail: waustad@oucsace.cs.ohiou.edu | | | \ | | |/ \| waustad@prime.cs.ohiou.edu Office: Convo 174 (740) 597-1952 URL: oucsace.cs.ohiou.edu/~waustad *******************************************************************