How to create an instance of a class without using "new"
operator? Plz help me out properly.Thank u.
Answer Posted / saravanan p
By using Class d=Class.forName("className");
Object obj=c.newInstance();
| Is This Answer Correct ? | 77 Yes | 4 No |
Post New Answer View All Answers
Write a program to find the greatest of three numbers in java?
What is e in java?
Is it possible to instantiate the abstract class?
What is scope & storage allocation of global and extern variables? Explain with an example
Why is java logo a cup of coffee?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Does java isempty check for null?
What do you understand by garbage collection in Java? Can it be forced to run?
What are the rules for variable declaration?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
What is immutability in java?
Is java a utf 8 string?
why are there separate wait and sleep methods? : Java thread
Explain about sets?
Explain covariant method overriding in java.