Design and implement a program (called MyTriangle) is to implement the specified methods. Test MyTriangle Class used to compute the area of a triangle if the input is valid. Notice that method isvalid() is used to validate the input before attempting to compute the area. In Java