Answer to Question #95965 in Java | JSP | JSF for Nur Hanisah Dhamirah Binti Rostam

Question #95965
a. Write a program to define a class Shape with data members row and column. The superclass has a constructor that used to set row and column and method rectangle() with access specifier ‘protected’ which used to display the shape of rectangle.
b. Create a class ShapeTriangle that inherits from class Shape by implement keyword ‘extends’. This class has a constructor that make a call to superclass constructor by using keyword super() and a method triangle() that display the shape of triangle.
1
Expert's answer
2019-10-05T23:27:07-0400
Dear Nur Hanisah Dhamirah Binti Rostam, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS