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.28 KB | None | 0 0
  1. public void main(int[] args)
  2. {
  3.     Ball golf = new Ball("golfball", "white", "hard", 1);
  4.     // do the same for the other balls
  5.  
  6.     // print to the console the values of each ball
  7.  
  8.     // take in input from user
  9.     golf.SetName(Console.ReadLine());
  10.  
  11.     // print the new values of each Ball
  12. }
Add Comment
Please, Sign In to add comment