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

What is the major advantage of external iteration over internal iteration?

604


How can constructor chaining be done using this keyword?

582


What is the independent variable in an experiment?

541


What are autoboxing and unboxing? When does it occur?

528


What is the default size of set in java?

494






What is a get method?

525


How to compare strings in java?

494


How do you find the absolute value?

553


What is the purpose of the main method?

534


What are static blocks and static initalizers in java ?

578


Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.

1600


Why is string builder not thread safe?

585


What is thread life cycle?

531


How do generics work in java?

514


What do you understand by access specifiers in Java?

576