Answers for "can we make object without using new 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 make object without using new in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language