Question: IN JAVA NEED QUICK RESPOSE! WILL GIVE GOOD RAITING! Lab Assignment on Interfaces and Abstract Classes Create an interface class that contains one procedure -
IN JAVA
NEED QUICK RESPOSE! WILL GIVE GOOD RAITING!

Lab Assignment on Interfaces and Abstract Classes Create an interface class that contains one procedure - whatAml() that returns a String. Create two abstract classes that implement the interface class and define what whatAml() returns in each case - "I am abstract A/I am abstract B" is acceptable. Create two classes that extend the abstract classes. Their default constructor should print that they are creating an item of that class and then you should add to whatAml) "I am class A" for example. In the drive program you should create a few objects of the class types to see the different behavior. Submit on the server in a directory named IA Lab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
