crayon-syntax-highlighter/util/sample/java.txt

9 lines
178 B
Plaintext
Raw Normal View History

2019-08-30 19:30:19 +02:00
// A sample class
class Human extends Mammal implements Humanoid {
private int age = 0;
public void birthday() {
age++;
System.out.println('Happy Birthday!');
}
}