why the constructor should be used in class,if there is no
constructor what will happen?
Answer Posted / devarathnam c,kotagudibanda(po
Hi... Nothing will happen the compilet will supply the
default constructor of the class.Normally canostructor can
be used to instantiate an object.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does \ mean in regex?
What is the main purpose of serialization in java?
Are registers volatile?
What is meant by inheritance and what are its advantages?
How would overload a function based on return type?
Can we assign integer value to char in java?
Can I learn java without any programming experience?
What is polymorphism in java? What are the kinds of polymorphism?
Explain importance of finally block in java?
How to create com object in Java?
What is polymorphism java example?
What is difference between fail-fast and fail-safe?
What is backdrop?
What is nan in java?
if u open login & logout ,how can udisplay the timelogin & logout members ?