8 lines
161 B
Java
8 lines
161 B
Java
//: initialization/MethodInit2.java
|
|
public class MethodInit2 {
|
|
int i = f();
|
|
int j = g(i);
|
|
int f() { return 11; }
|
|
int g(int n) { return n * 10; }
|
|
} ///:~
|