Created
March 15, 2020 15:40
-
-
Save anta40/dbf34ca95dbc5e9c778805f19565dbb1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Togel { | |
private int no, banyak; | |
public Togel (int no, int banyak){ | |
this.no = no; | |
this.banyak = banyak; | |
} | |
public int getNo(){ return no; } | |
public int getBanyak() { return banyak; } | |
public String toString(){ | |
return "no: "+no+", banyak: "+banyak; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment