Skip to content

Instantly share code, notes, and snippets.

@eriwiana
Created March 17, 2015 02:00
Show Gist options
  • Save eriwiana/e9a55ef95476641a9223 to your computer and use it in GitHub Desktop.
Save eriwiana/e9a55ef95476641a9223 to your computer and use it in GitHub Desktop.
package hewan;
public class Main {
public static void main(String[] args) {
Hewan hewan1 = new Hewan();
hewan1.makan();
hewan1.berjalan();
Kucing kucing1 = new Kucing();
kucing1.bermain();
kucing1.makan();
Ikan Ikan1 = new Ikan();
Ikan1.berenang();
Ikan1.makan();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment