getArea(). This method will automatically give the area of the triangle? Not need to get the correct formula. Is that the way Java is written? A=1/2(b)(h)

--- Update ---

I was wondering...