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
Can inner class extend any class?
What is the default size of load factor in hashing based collection?
What is scanner in java?
How to calculate the length of a singly linked list in java?
Is java jre still free?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What is the purpose of garbage collection in java? When is it used?
Is ruby built on java?
What is the use of coding?
What is flag in java?
What is identifier in java?
Can a constructor be protected?
Can we use synchronized block for primitives?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
Why are the destructors for base class and derived class called in reverse order when the program exits