Is it possible to create object with out its default
constructor? if possible how? else not possible? justify
Answer Posted / dsr
with out default constructor we can't create the object.
suppose we can't write default constructor in the class.
JVM will be creating the default constructor for that class.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
How hashmap increases its size in java?
What is derived datatype?
Can a class declared as private be accessed outside it’s package?
Is jdk required on each machine to run a java program?
What are the basic concepts of OOPS in java?
What is overloading and overriding in java?
what is the difference between a threads start() and run() methods? : Java thread
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What is function overriding and overloading in java?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
What carriage return means?
What is a final class in java?
Explain about interthread communication and how it takes place in java?
Can we call the run() method instead of start()?
How will you invoke any external process in java?