Abstract class design using two concrete classes

I need help with the following question from Design Patterns using Java. Someone please answer this.

Both the right-angled triangle and the equilateral triangle are triangles with specific differences. Design a class hierarchy with Triangle as an abstract class with the class representations for both the right-angled triangle and the equilateral triangle as two concrete subclasses of it.

August 19th, 2014 7:40am

Hi,

Thank you posting in TechNet forum.

This forum is for IT professionals to discuss questions related with Windows 8.1, if you have any questions about your usage of Windows 8.1, we may follow the bellow article to ask a question:

How to ask a question efficiently in TechNet forum

Besides, based on my understanding, the issue mentioned here seems to be a Java class design, which is recommended to seek help in some developer forum where the folks are good at Java coding/designing.

Thank you for your understanding.

Best regards

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2014 5:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics