The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
University
| Teaching Since: | Apr 2017 |
| Last Sign in: | 438 Weeks Ago, 3 Days Ago |
| Questions Answered: | 9562 |
| Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
Using Java ((Abstract Class and Interface))
13.1(Triangle class)
Desing a new Triangle lass that extends the abstract GeometricObject class.
Draw the UML diagram for the classes Triangle and GeometricObject and then
implement the Triangle class. write a test program that prompts the user to
enter three side of the triangle, a color, and a Boolean value to indicate
wherther the triangleis filled. the program should create a Triangle object
with these sides and set the color and filled properties using the input.
The program should display the area, perimeter,olor,and true or false to
indicate whether it is filled or not.
-----------