A constructor.

A. Is used to create objects
B. Must have the same name as the class it is declared within
C. B and C
D. None
View Answer

B. Must have the same name as the class it is declared within

An instance method.

A. Represents the behavior of an object
B. Represents the attribute of an object
C. Represents another class
D. A and b
View Answer

A. Represents the behavior of an object

Convert vs. Parse methods

A. Convert converts the value, parse is for parsing
B. Convert allows null values, parse cannot
C. Both are same
D. None of these
View Answer

B. Convert allows null values, parse cannot

An instance variable.

A. Is an object of a class
B. Represents an attribute of an object
C. Is a method of a class
D. A and c
View Answer

B. Represents an attribute of an object