System.out.print(x==a); //what does this means true ? False ? Error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

System.out.print(x==a); //what does this means true ? False ? Error

14th Feb 2018, 5:16 PM
Abhijit
Abhijit - avatar
1 Answer
+ 4
It depends on the value. int x = 1; int a = 2; System.out.print(x==a) /*false*/
14th Feb 2018, 5:18 PM
Toni Isotalo
Toni Isotalo - avatar