Wipro Interview Question

Write down program to calculate the area of triangle in java?