Guest User

Untitled

a guest
Jan 21st, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. private Ball golf;
  2. // declare other balls here
  3.  
  4. public void main(int[] args)
  5. {
  6.     golf = new Ball("golfball", "white", "hard", 1);
  7.     // do the same for the other balls
  8.  
  9.     // print to the console the values of each ball
  10.     PrintOutBallValues();
  11.     // take in input from user
  12.  
  13.  
  14.     // print the new values of each Ball
  15.     PrintOutBallValues();
  16. }
  17.  
  18. public void PrintOutBallValues()
  19. {
  20.     // print out each ball's value
  21. }
  22.  
  23. public void GetUserValues()
  24. {
  25.     // get and set each ball's value from user input
  26. }
Add Comment
Please, Sign In to add comment