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


Please Help Members By Posting Answers For Below Questions

Difference between error and exception

5024


Is vector ordered in java?

540


Which of the classes will have more memory allocated?

541


Is space a char?

534


how many types of Inheritance?

655






What is the properties class?

561


In a class implementing an interface, can we change the value of any variable defined in the interface?

560


Is cout buffered?

688


What is the difference between hashmap and hashtable in java?

557


What is a double?

591


What is the purpose of encapsulation?

544


What is the difference between jdk and jre?

612


What are new features introduced with java 8 ?

552


How many types of methods are there in java?

530


In which order the iterator iterates over collection?

585