Return to Unit Menu | Java Main Page | MathBits.com | Terms of Use | Java Resource CD
Multiple Choice Java Quiz
2. The method length( ) will return an integer which represents the length of a string value.
4. All variables must be declared before they can be used.
5. All strings end with a null zero inside memory.
6. Variable names may begin with a number.
7. The Console commands require that BreezyGUI be imported.
8. In Java, 5/2 =
10. The method toLowerCase( ) changes all lowercase letters to uppercase and all uppercase letters to lowercase.
11. Variables that describe the data stored at that particular memory location are called
12. Array indexing always starts with the number
13. The following statement is valid double price = 7,450.98;
14. In Java, 12%5 =
15. The method indexOf(",") will allow you to search for the location of a comma.
16. Mathematicians and computers interpret the equal sign (=) in the same way.
17. A character variable may contain up to seven letters.
18. When a data type must contain decimal numbers, assign the type
20. A variable is given a value through