Argument Constructor

What is "no argument constructor " in Java?

Questions by abhi_csedas   answers by abhi_csedas

Showing Answers 1 - 2 of 2 Answers

The zero argument constructor is used to initialize the class.
If we dont write a zero argument constructor also compiler creates one for intializing the variables

  Was this answer useful?  Yes

arun4u33

  • Sep 10th, 2009
 

If you do not provide any constructor in your program  then compiler implicitly provide an empty constructor(zero parameter).
If you writes any default constructor or parameter constructor in your  program then compiler does not provide zero parameter constructor.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions