This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: C. boolen, char, bit, short, int, long, float, double , and references D. bit, short, int, long E. bit, short, int, long, float, double 1 2. What value would Java produce by evaluating the expression 16 % 5 / 6 + 29 / 2 % 7 ? A. 2 B. 3 C. 0 D. 4 E. 1 3. What character sequence denotes the end of a comment block? A. * \\ B. */ C. ** D. \ E. \ * 4. How many times does the following code print zzz: for(int i = 0; i <= 2; i++) for(int j = 1; j <= 1; j++) System.out.println("zzz"); A. 0 B. 1 C. 2 D. 3 E. 4 3 Written Questions 1. Be able to write instantiable classes 2. Be able to write tester classes 3. Be able to write or trace nested loops 4. Be able to write or trace nested if statements 5. Be able to trace Fow diagrams 2...
View
Full
Document
This note was uploaded on 08/08/2008 for the course CS 302 taught by Professor Willbenton during the Spring '07 term at Wisconsin.
 Spring '07
 WillBenton

Click to edit the document details