Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

initialize class java

public class Class1 {
	public Class1() { 
    	// Initialization of Class1
    }
}
public class Class2 {
	// Startup method
	public static void main(String[] args) {
    	Class1 class1 = new Class1(); // Initialize Class1
    }
}
 
PREVIOUS NEXT
Tagged: #initialize #class #java
ADD COMMENT
Topic
Name
7+1 =