144k views
3 votes
Which one of the following claims about Java is INCORRECT? Select one:

a. A constructor's name is its return type.
b. A constructor's name must match the name of the class. c. Constructors can be overloaded with different parameter lists. d. A constructor can only be called with "new". e. A default constructor is always provided by the compiler.

User Adamj
by
8.1k points

1 Answer

4 votes
A default constructor is always provided by the computer
User Simon Peyou
by
7.2k points