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

Method method

Programs/StaticMemberFunctions.java:5–9  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

3class staticFunc {
4 static int a = 5, b;
5 static void method(int x) {
6 System.out.println("x = " + x);
7 System.out.println("a = " + a);
8 System.out.println("b = " + b);
9 }
10 static {
11 System.out.println("Static block");
12 b = a * 10;

Callers 1

mainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected