How to create an instance of a class without using "new"
operator? Plz help me out properly.Thank u.

Answer Posted / guest

by using class.forName();

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a "pure virtual" member function?

604


What is variable and constant explain with example?

538


What happens when heap memory is full?

537


Can we increase size of array?

583


What do you mean by stack?

650






How do you detect memory leaks?

590


Which is better arraylist or vector?

581


What are the two parts of a conditional statement?

523


What are the different types of collections in java?

534


Why do I need to declare the type of a variable in java?

576


How can we access some class in another class in java?

557


Can we define private and protected modifiers for the members in interfaces?

548


What is meant by class and object in java?

563


What is a loop java?

592


What do you mean by singleton class in java?

523