What is the need for calling default constructor by JVM? why the JVM should intiializes default values to the data fields if the constructor is not there in our class?

Recommended Answers

All 4 Replies

learn English first. The word "doubt" is never used like that.
And with that newfound knowledge, read the language specification.


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.