Question: trace the code in handwritten. This code was in java code. Tell what happening in each line. public class GreatDane extends Dog { private int
trace the code in handwritten. This code was in java code. Tell what happening in each line.

public class GreatDane extends Dog { private int pawSize; public GreatDane () { pawSize = 0; System.out.println("Great Dane Constructed"); } public GreatDane (int a, String b, int w, int paw) { super (a,b,w); pawSize = paw; System.out.println("Great Dane Constructed"); } public void speak() { System.out.println("Great Danes say "WOOOOF ""); System.out.println(""); } public void drool() { System.out.println("Great Danes drool"); System.out.println(""); } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
