Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Hogs {
- int hogScore=0;
- public void speak1() {
- System.out.println("We will destroy you tonight!");
- }
- public void speak2() {
- System.out.println("Prepare to die!!");
- }
- public int TD() {
- return hogScore+=7;
- }
- public int FG() {
- return hogScore+=3;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement