We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d3c3f9 commit 28f039aCopy full SHA for 28f039a
1 file changed
test/BasicTypes3.java
@@ -0,0 +1,20 @@
1
+class Vector {}
2
+
3
+class BasicTypes3 {
4
+ Boolean B;
5
+ Integer I;
6
+ Double D;
7
8
+ String S;
9
+ Vector V;
10
11
+ public static void main(String[] args) {
12
+ BasicTypes3 bt3 = new BasicTypes3();
13
+ System.out.println(bt3.B == null ? 1 : 0);
14
+ System.out.println(bt3.I == null ? 1 : 0);
15
+ System.out.println(bt3.D == null ? 1 : 0);
16
+ System.out.println(bt3.S == null ? 1 : 0);
17
+ System.out.println(bt3.V == null ? 1 : 0);
18
+ }
19
20
+}
0 commit comments