Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java get constructor

You cannot get a constructor in java, you can run the constructor

Class1 class = new Class1(); // When creating a new instance of a class.
// The constructor is called.
 
PREVIOUS NEXT
Tagged: #Java #constructor
ADD COMMENT
Topic
Name
2+7 =