How to create an instance of a class without using "new"
operator? Plz help me out properly.Thank u.
Answer Posted / abhishek thakur
1. Four Ways of Object creation
i)Using "new" operator
ii)Using newInstance Method in Class.forName(class name)
iii)in case of deserialisation
iv)using clone
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is illegal identifier in java?
Can list have duplicates in java?
define the terminology association.
What does indexof mean?
What do you mean by constructor?
What about main thread in java?
Is singleton class thread safe?
What does .equals do in java?
What is default locale java?
How to find the given number is a prime number or not by getting input from the user
How do you clear an arraylist in java?
how to split string in java?
What is the use of toarray () in java?
Explain working of call by reference function invoking.
define polymorphism in java