+ 2
Predict the output?
package main; class T { int t = 20; } class Main { public static void main(String args[]) { T t1 = new T(); System.out.println(t1.t); } }
1 ответ
+ 4
maybe 20?
package main; class T { int t = 20; } class Main { public static void main(String args[]) { T t1 = new T(); System.out.println(t1.t); } }