Question: what is Java code for this? create a class named shape Inn sub classes circle triangulori two member functim maned Q3( 7 points) Create a

what is Java code for this?
create a class named shape Inn sub classes circle triangulori two member functim maned Q3( 7 points) Create a class named 'Shape' with a method to print "This is This is shape". I hen create two other classes named 'Rectangle', 'Circle' inheriting the Shape class, both having a method to print "This is rectangular shape" and "This is circular shape respectively. Create a subclass 'Square' of 'Rectangle' having a method to print " Square is a rectangle". Now call the method of 'Shape' and 'Rectangle' class by the object of 'Square' class. this class we have thee cochelas has two Ercate a clase named 'shape In sub classes circle, tigang e suave concepts. or phisine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
