java
create a class for triangle and also driver(area and perimeter)
also write its getters and setters
for the right triangle
Purchase the answer to view it