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
What is the major advantage of external iteration over internal iteration?
How can constructor chaining be done using this keyword?
What is the independent variable in an experiment?
What are autoboxing and unboxing? When does it occur?
What is the default size of set in java?
What is a get method?
How to compare strings in java?
How do you find the absolute value?
What is the purpose of the main method?
What are static blocks and static initalizers in java ?
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.
Why is string builder not thread safe?
What is thread life cycle?
How do generics work in java?
What do you understand by access specifiers in Java?