Question: USING JAVA 4. Create 2 classes, 1 subclass and 1 superclass with 1 method and inside the method create two attributes. Access the superclass by

USING JAVA
4. Create 2 classes, 1 subclass and 1 superclass with 1 method and inside the method create two attributes. Access the superclass by using inheritance extends keyword in the subclass. Show and output the value of the attributes. Provide your own class, attributes and methods names
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
