Question: Which statement is true about constructors? None of these answers are correct. Every Java class may have exactly one constructor, but it could have more
Which statement is true about constructors? None of these answers are correct. Every Java class may have exactly one constructor, but it could have more or less. If you don't specify a constructor, the Java Virtual Machine (JVM) will provide a default constructor for you. Every Java class should have exactly one constructor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
