In Java, what is the correct syntax for creating an instance of a class?
ClassName objectName();
objectName = new ClassName();
ClassName objectName = new ClassName();
new ClassName() = objectName;

Software Engineering Übungen werden geladen ...