Quiz 22 - Friday July 14, 2000


1. True/False The logical operator == and the method equals test the same thing?

2. True/False The output from the method countTokens() stays the same no matter how many tokens are read.

3. True/False The StringTokenizer class is found in the java.io package.

4. What are two ways we can distinguish a constructor from a regular method in a class definition?