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

Answer Posted / prakash sah

This is happening using reflection. Read reflection in java

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does java vector allow null?

717


How does remove work in java?

713


How do you declare an array in java?

738


What is difference between classpath and path variables in java?

854


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

813


What happens if main method is not static?

713


Can we declare register variable as global?

723


What is the difference between Grid and Gridbaglayout?

784


What do you understand by a Static Variable?

885


Can you call a method in a method?

759


Why does java not allow multiple public classes in a java file ?

3903


What is jee6?

739


What kind of variables can a class consist?

787


Is 0 true or false in java?

733


what is the difference between thread and runnable types? : Java thread

756