Is it possible to create object with out its default
constructor? if possible how? else not possible? justify
Answer Posted / sitaram
we can write the without constructor in the class. when
ever class will be loaded, JVM will be creating defalt
constructor for that class.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What is the difference between a synchronized method and a synchronized block?
Is a method a function?
What is a get method?
Why is method overloading not possible by changing the return type in java?
Can a class be private?
How do you do absolute value in java?
What is string manipulation?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is a website container?
What is set string?
What is externalizable?
Why is java called the platform independent programming language?
What is the difference between hashset and treeset in java?
Why is java logo a cup of coffee?