Initialisieren Sie die Klasse 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
}
}
Bredo