Which of the following statements is false?
a. Scanner method next reads characters until any white-space character is encountered, then returns the characters as a String.
b. To call a method of an object, follow the object name with a comma, the method name and a set of parentheses containing the method’s arguments.
c. A class instance creation expression begins with keyword new and creates a new object.
d. A constructor is similar to a method but is called implicitly by the new operator to initialize an object’s instance variables at the time the object is created.
B
You might also like to view...
A field that appears in two or more tables and contains identical data to relate the tables is called a(n) ____________________ field.
Fill in the blank(s) with the appropriate word(s).
The rectangle in a flowchart is called the ____ symbol and is used to represent tasks such as calculations.
A. start/stop B. input/output C. process D. flow