MCPcopy Create free account
hub / github.com/Manvityagi/PW-Skills-Java-Course-Codes / Main

Class Main

Lecture 13 Scope/src/Main.java:41–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41public class Main {
42
43 static void changeValue(int a){
44 a *= 100;
45
46 System.out.println("Inside change value " + a);
47 }
48
49 public static void main(String[] args) {
50// Algebra obj = new Algebra();
51// obj.demo();
52
53 int a = 10;
54 System.out.println("Before changing value " + a);
55 changeValue(a);
56 System.out.println("After changing value " + a);
57 }
58}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected