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. 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.
You might also like to view...
____________ ("P" or "p") causes the number to be multiplied by 100 and displayed with a trailing space and % sign.
a. Percent format b. Currency format c. Exponential format d. Number format
In order to convert a basic disk to a dynamic disk, how much free space must be available on the disk?
A. 512K B. 1MB C. 10MB D. 128MB