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
Difference between error and exception
Is vector ordered in java?
Which of the classes will have more memory allocated?
Is space a char?
how many types of Inheritance?
What is the properties class?
In a class implementing an interface, can we change the value of any variable defined in the interface?
Is cout buffered?
What is the difference between hashmap and hashtable in java?
What is a double?
What is the purpose of encapsulation?
What is the difference between jdk and jre?
What are new features introduced with java 8 ?
How many types of methods are there in java?
In which order the iterator iterates over collection?