Q.

In this example class_var = new classname ( ); the class name followed by parentheses~~~specifies the _________ for the class.

A. destructor.
B. constructor.
C. variables.
D. memory.
Answer» B. constructor.
2.4k
0
Do you find this helpful?
20

View all MCQs in

Java Programming

Discussion

No comments yet