question archive Define a java class called RightAngleTriangle
Subject:Computer SciencePrice:6.86 Bought12
Define a java class called RightAngleTriangle.
write another test class called TestRightAngleTriangle and invoke methods of the RightAngleTriangle class
Instance variables:
1. Base
2. Height
Instance methods and Constructors:
1. Define two constrcutors
2. Getter and setter methods for each instance variable
3. ComputeArea method
4. Compute perimeter method
5. Define toString()
6. Define equals ()
After this perform testing in tester class
Purchased 12 times