2007-10-24 21:06:02 +00:00
|
|
|
public class Misc {
|
2007-09-28 14:45:26 +00:00
|
|
|
private static int alpha;
|
|
|
|
private static int beta;
|
|
|
|
|
2007-09-26 23:23:03 +00:00
|
|
|
private String foo(String s) {
|
|
|
|
return s;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String bar(String s) {
|
|
|
|
return s;
|
|
|
|
}
|
|
|
|
|
2007-09-28 14:45:26 +00:00
|
|
|
private static String baz(String s) {
|
|
|
|
return s;
|
|
|
|
}
|
|
|
|
|
2007-11-05 14:28:46 +00:00
|
|
|
public static void main(String[] args) {
|
2007-12-11 21:26:59 +00:00
|
|
|
// boolean v = Boolean.valueOf("true");
|
2007-11-04 21:15:28 +00:00
|
|
|
|
2007-12-11 21:26:59 +00:00
|
|
|
// ClassLoader.getSystemClassLoader().toString();
|
2007-11-05 15:29:43 +00:00
|
|
|
|
2007-09-24 01:39:03 +00:00
|
|
|
int a = 2;
|
|
|
|
int b = 2;
|
|
|
|
int c = a + b;
|
2007-09-26 23:23:03 +00:00
|
|
|
|
2007-12-11 23:52:28 +00:00
|
|
|
Misc m = new Misc();
|
2007-12-12 00:27:04 +00:00
|
|
|
String s = "hello";
|
2007-12-11 21:26:59 +00:00
|
|
|
// m.foo(s);
|
|
|
|
// m.bar(s);
|
|
|
|
// baz(s);
|
|
|
|
|
|
|
|
// int d = alpha;
|
|
|
|
// beta = 42;
|
|
|
|
// alpha = 43;
|
|
|
|
// int e = beta;
|
|
|
|
// int f = alpha;
|
2007-09-24 01:39:03 +00:00
|
|
|
}
|
|
|
|
}
|