Package se.umu.cs.aj.figure
Class Triangle
- java.lang.Object
-
- se.umu.cs.aj.figure.Figure
-
- se.umu.cs.aj.figure.Triangle
-
public class Triangle extends Figure
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
surface()
Abstract class that should return the surface of a figure.java.lang.String
toString()
-
Methods inherited from class se.umu.cs.aj.figure.Figure
surfaceString
-
-
-
-
Method Detail
-
surface
public double surface()
Description copied from class:Figure
Abstract class that should return the surface of a figure.
-
-