Last active
December 12, 2015 10:29
-
-
Save rawaludin/4759331 to your computer and use it in GitHub Desktop.
belajar visibility
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
class Burung { | |
public int jmlSayap; | |
private int jmlKaki; | |
protected String jenis; | |
String warna; | |
public void setJmlKaki(int jumlah) { | |
this.jmlKaki = jumlah; | |
} | |
public int getJmlKaki() { | |
return this.jmlKaki; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment