Is it possible to create object with out its default
constructor? if possible how? else not possible? justify
Answer Posted / sitaram
we can write the without constructor in the class. when
ever class will be loaded, JVM will be creating defalt
constructor for that class.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is singleton pattern?
Define interface in java?
What is a method vs function?
What is sortedmap interface?
Explain about join() method?
What is the difference between overriding and overloading in OOPS.
What are different types of inner classes ?
How do you pass by reference?
Can list be null in java?
Can we overload run() method in java?
Is there a sort function in java?
Difference between throw and throws?
Why can't we make a class private in java?
How will you invoke any external process in java?
What is scope of a variable?