When does the compiler supply a default constructor for a
class?

Answer Posted / manju

In java if we do not create the constructor,by default it
will be automatically invoked at compile time

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does java final mean?

519


Can a method be static?

520


What are the different types of sorting in java?

539


What is the implementation of destroy method in java. Is it native or java code?

477


Is it possible to use string in the switch case?

553






What is the integer of 16?

533


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

555


Mention a package that is used for linked list class in java.

522


What is the constructor?

575


What does this () mean in constructor chaining concept?

554


What are the parts of a method?

533


Can a class be final?

494


What are decalarations?

632


Can I uninstall java?

548


Explain about member inner classes?

582