7 lines
121 B
Java
7 lines
121 B
Java
public class Superclass {
|
|
|
|
public void printMethod() {
|
|
System.out.println("Printed in Superclass.");
|
|
}
|
|
}
|