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

Method main

Programs/overloading.java:15–21  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

13}
14public class Overloading {
15 public static void main(String[] args) {
16 // TODO Auto-generated method stub
17 SqRectArea sq = new SqRectArea(); // New object instantiation for square
18 sq.Area(5); // Calling function with 1 parameter
19 SqRectArea rect = new SqRectArea(); // New object instantiation for rectangle
20 rect.Area(10, 5); // Calling function with 2 parameters
21 }
22}

Callers

nothing calls this directly

Calls 1

AreaMethod · 0.95

Tested by

no test coverage detected