Is it possible to create object with out its default
constructor? if possible how? else not possible? justify
Answer Posted / vamsi
Yes, it is possible to create an object without its default
constructor. We can create a parametrized constructor or if
you have not created any thing then the compiler will
provide you with one default constructor.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain about exception propagation?
Explain the protected field modifier?
What are the different approaches to implement a function to generate a random number?
Can an interface be defined inside a class?
What do you mean by platform independence?
what is object slice?
What does escaping a character mean?
Is an empty arraylist null?
Explain with example the concept of constant variable in java.
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
What exceptions occur during serialization?
How do you define a singleton class?
What is methods and methodology?
What are some alternatives to inheritance?
What is the difference between equals() and == in java?