Skip to content

Instantly share code, notes, and snippets.

@rawaludin
Last active December 12, 2015 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rawaludin/4759331 to your computer and use it in GitHub Desktop.
Save rawaludin/4759331 to your computer and use it in GitHub Desktop.
belajar visibility
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