+ 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);    } }

7th Jan 2018, 2:34 PM
Mr.Learner
Mr.Learner - avatar
1 Odpowiedź
+ 4
maybe 20?
7th Jan 2018, 2:58 PM
Vukan
Vukan - avatar