[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/RoyTien/Java-Programming-Exercises/master/GoodDogTestDrive.java [Back]  [Original]

class GoodDogTestDrive{
	public static void main (String[] args){
		GoodDog one = new GoodDog();
		one.setSize(70);
		GoodDog two = new GoodDog();
		two.setSize(8);
		
		System.out.println("Dog one: " + one.getSize());
		System.out.println("Dog two: " + two.getSize());
		one.bark();
		two.bark();
	}
}

Web Proxy Viewer  |  New URL  |  Original Page