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


Please Help Members By Posting Answers For Below Questions

What is the ==?

461


What is ascii format?

539


Where are the card layouts used?

600


What data type is string java?

529


Are static members inherited to sub classes?

633






Is the milky way in a void?

536


What is appletviewer?

558


Can we assign the reference to this variable?

533


What is toarray method in java?

548


What’s the difference between the methods sleep() and wait()?

534


Where is java located?

489


What is the difference between heap memory and stack memory?

609


Explain the difference between collection api and stream api in java8?

501


Which keyword specify that a variable is effectively final ?

555


What do you mean by exception handling in Java?

652