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
how can you take care of mutual exclusion using java threads? : Java thread
What does mean in regex?
What is a class reference?
How do you compare two objects?
Explain working of call by reference function invoking.
What methods are used to get and set the text label displayed by a button object?
What is the use of pattern in java?
Explain the importance of import keyword in java?
Explain static nested classes ?
What is off heap memory?
Explain jvm, jre, and jdk?
what is difference betweem home interface and remote interface?
How many classes can any class inherit java?
What are the pillars of java?
what is the difference between the methods sleep() and wait()? : Java thread