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

Method main

day10/code/03_包/Test.java:15–33  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

13
14public class Test {
15 public static void main(String[] args) {
16 /*
17 com.liuyi.Demo d = new com.liuyi.Demo();
18 int result = d.sum(10,20);
19 System.out.println(result);
20
21 com.liuyi.Demo d2 = new com.liuyi.Demo();
22 int result2 = d2.sum(10,20);
23 System.out.println(result2);
24
25 com.liuyi.Demo d3 = new com.liuyi.Demo();
26 int result3 = d3.sum(10,20);
27 System.out.println(result3);
28 */
29
30 Demo d = new Demo();
31 int result = d.sum(10,20);
32 System.out.println(result);
33 }
34}

Callers

nothing calls this directly

Calls 1

sumMethod · 0.95

Tested by

no test coverage detected