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

Difference between process and thread?

607


What is the synonym of procedure?

532


What is the difference between declaration and definition in java?

519


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

835


What is the base class of all exception classes?

586






Is main an identifier?

546


What about interthread communication and how it takes place in java?

548


How many types of memory areas are allocated by JVM in java?

597


Can we override constructor in java?

579


How many threads does a core java have?

512


Is ++ operator thread-safe in java?

636


Can an interface have a constructor?

515


What is strings in java?

591


How to read and write image from a file ?

561


What is xslt in java?

525