0
Please describe this code and output (888..20):-
public class Test { static int a=10; int b=20; public static void main(String[] args) { Test t1=new Test(); t1.a=888; t1.b=999; Test t2=new Test(); System.out.println(t2.a+".."+t2.b); } }
2 Answers
+ 4
I have comment it in your code of my version to let you understand.
If you have other queries. comment it also then.
https://code.sololearn.com/cyDr333Zek2E/#java