MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / triangle

Method triangle

Programs/abstractClass.java:30–32  ·  view source on GitHub ↗
(double a, double b)

Source from the content-addressed store, hash-verified

28
29class triangle extends area {
30 triangle(double a, double b) {
31 super(a, b);
32 }
33 double area1() {
34 System.out.println("Area of triangle = ");
35 return (0.5*dim1*dim2);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected