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
Is it possible for a yielded thread to get chance for its execution again?
Can inner class extend any class?
What are green threads in java?
How to obtain a performance profile of java program
What is arraylist class in java?
Can we overload destructor in java?
What is a native method in java programming?
What is boolean data type in java?
Can we write a class without main method in java?
How do you remove duplicates in java?
What is a default constructor and also define copy contrucyor?
what is bmg file and how to create that files?what will it contailn?
What are the six ways to use this keyword?
What does next mean in java?
In how many ways we can do synchronization in java?