All of the following are true about constructors, EXCEPT ____.

A. if a class has more than one constructor, all of the constructors must have the same name
B. if a class template contains no constructors, the JVM provides a primitive default constructor
C. a class is harder to use when it has a variety of constructors
D. all of the above are true


Answer: C

Computer Science & Information Technology

You might also like to view...

What kind of exception is thrown if there's a problem opening or creating a StreamWriter?

a) Exception b) StreamException c) OpenAndCreatingException d) IOException

Computer Science & Information Technology

Which of the following is true?

a. Facelets are a combination of XHTML markup and JSF markup. b. XHTML combines a page's content with its presentation. c. You cannot dynamically insert values into a Facelets page. d. None of the above.

Computer Science & Information Technology

Threads execute in a ___________ fashion.

a. parallel b. serial c. complex d. none of the above

Computer Science & Information Technology

A(n) ________ is any injury that is caused by fast, repetitive work that can generate neck, wrist, hand, and arm pain.

A. RSI B. pointer C. VRI D. ergonomy

Computer Science & Information Technology