Advertisement
therrontelford

Tiger class

Sep 12th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1.  
  2. public class Tigers {
  3.    
  4.     int tigerScore=0;
  5.    
  6.     public void speak1() {
  7.         System.out.println("Y'all think because you got Norton, you're gonna win");
  8.        
  9.     }
  10.     public void speak2() {
  11.         System.out.println("We're gonna have some bacon for supper");
  12.     }
  13.     public int TD() {
  14.         return tigerScore+=7;
  15.     }
  16.     public int FG() {
  17.         //return tigerScore+=3;
  18.         return tigerScore=tigerScore+3;
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement