crayon-syntax-highlighter/util/sample/java.txt
2019-08-30 19:30:19 +02:00

9 lines
178 B
Plaintext

// A sample class
class Human extends Mammal implements Humanoid {
private int age = 0;
public void birthday() {
age++;
System.out.println('Happy Birthday!');
}
}