Skip to content

Instantly share code, notes, and snippets.

@agusmakmun
Last active August 29, 2015 14:20
Show Gist options
  • Save agusmakmun/3255042298910fd3f2c5 to your computer and use it in GitHub Desktop.
Save agusmakmun/3255042298910fd3f2c5 to your computer and use it in GitHub Desktop.
Soal Check User
/*
Ini adalah Soal Check User
Lihat class utamanya : https://gist.github.com/agusmakmun/7ecaaf3b0caf799a1905
Lihat Pemanggil Outputnya : https://gist.github.com/agusmakmun/a22db6e9a879f03545f8
@author Summon Agus
@blog bloggersmart.net
*/
Class User {
//fields:
id
password
nama
admin
//constructor:
User(id, password)
User(id, password, nama, admin)
//methods:
boolean apakahAdmin()
String toString()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment