Advertisement
Guest User

DogDriver Class Code

a guest
Jan 27th, 2015
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1.  
  2. //January 23, 2015
  3. public class DogDriver{
  4.  public static void main(String[] args){
  5.      Dog Corgi = new Dog();
  6.      System.out.println(Corgi.Bark());
  7.      Corgi.SetAge(50);
  8.      System.out.println(Corgi.GetAge());
  9.     }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement