Answers for "can we create object without using new keyword in java"

2

instanciate a object without the new keyword in java

Class.forName("YOURCLASSNAME").newInstance();
Posted by: Guest on November-16-2020

Code answers related to "can we create object without using new keyword in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language