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
What is java command?
What is implicit object in java?
What 4 doubled?
Does collectionutils isempty check for null?
What is merge sort in java?
How can we pass argument to a function by reference instead of pass by value?
How do I know if java is installed?
What is difference between path and classpath?
What is replaceall in java?
What is tree node in java?
What is command line used for?
What are checked exceptions?
What are the types of exceptions?
What is the do while loop syntax?
How do you compare characters in java?