blob: 862356ebd9ccf2969fcb27e5483acf2ee3c0b6c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/**
* Created by IntelliJ IDEA.
* User: db
* Date: Nov 15, 2004
* Time: 5:40:02 PM
* To change this template use File | Settings | File Templates.
*/
class A {}
class B {}
public class Test {
A getA() {
return new A ();
}
int foo() {
A a = getA ();
if (a != null){
return 0;
}
return 1;
}
}
|