Is it possible to create object with out its default
constructor? if possible how? else not possible? justify
Answer Posted / dsr
with out default constructor we can't create the object.
suppose we can't write default constructor in the class.
JVM will be creating the default constructor for that class.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Can Exception handling we can handle multiple catch blocks?
How to create an immutable class?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is the difference between the ">>" and " >>>" operators in java?
Why do we use bufferedreader?
What are void methods?
Difference between object and reference?
How to create a custom exception?
What is the common usage of serialization?
Is java an ide?
What is the purpose of a transient variable?
Can you override a final method?
When can we say that threads are not lightweight process in java?
Why deletion in linkedlist is fast than arraylist?
What defines function?