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
When will you define a method as static?
java program with complete 4 oops concepts implemented example
Explain the difference between protected and default access.
How many bits is size_t?
What is illegal identifier in java?
What is the covariant return type?
What is the difference between preemptive scheduling and time slicing?
What is an abstract method in java programming?
What are kinds of processors?
What is the byte range?
what is a working thread? : Java thread
What are daemon Threads in java?
What do you understand by the term polymorphism?
What is private protected in java?
What is the reflection?