-
-
Save eriwiana/e9a55ef95476641a9223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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