Question: JAVA CODING: (4) (15 points) Exercise your knowledge of Inheritance and their Constructors For this exercise, you are given two classes A and B as
JAVA CODING:



(4) (15 points) Exercise your knowledge of Inheritance and their Constructors For this exercise, you are given two classes A and B as follow: (in C.java). For the custom print () method, you need to import a utility package to support that. You need to add this to your first line of code. import static utility.Print.* class A AO public void aMethod1) private void aMethod20 println("AC) construct in class A"); print(" aMethodl"); print(" Private aMethod2"); /Ithis is a static method static void aMethod3()f print(" static aMethod3")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
