mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
35 lines
538 B
Java
35 lines
538 B
Java
public class Instructions {
|
|
private static int alpha;
|
|
private static int beta;
|
|
|
|
private String foo(String s) {
|
|
return s;
|
|
}
|
|
|
|
public String bar(String s) {
|
|
return s;
|
|
}
|
|
|
|
private static String baz(String s) {
|
|
return s;
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
int a = 2;
|
|
int b = 2;
|
|
int c = a + b;
|
|
|
|
Instructions i = new Instructions();
|
|
String s = "hello";
|
|
i.foo(s);
|
|
i.bar(s);
|
|
baz(s);
|
|
|
|
int d = alpha;
|
|
beta = 42;
|
|
alpha = 43;
|
|
int e = beta;
|
|
int f = alpha;
|
|
}
|
|
}
|