package innerClass;

public class DogDriver {

	public static void main(String[] args) {
		Dog scooby = new Dog("Scooby Doo");

		/* I can ask the outer class to use its inner class */
			scooby.activateKidneys();
		
		/* But I cannot use the private inner class directly */
			// System.out.println(scooby.kidney1.getIdentifier());
			// The above line of code will not compile.
			
		/* Let's use the anonymous inner class of Dog */
			scooby.activateStomach();

	}

}
