Java Language Fundamentals 721
BD4
Quiz ..............................................................................................................
- What Java primitive data type can hold the largest range of integer values?
- Does Java support functions?
- What Java construct would you use to execute a block of statements repeatedly as
long as a certain condition is true? - What does the importstatement do?
- How do you create a comment in Java?
- What’s wrong with this code?
int count;
Count = 0; - What data types can be used in Java arrays?
Exercise ........................................................................................................
- Install and work with a java compiler. Compile and execute the listings presented
in today’s lessons.
39 448201x-Bonus4 8/13/02 11:19 AM Page 721