What would be the output of the following code?
int a= 25<40;
System.out.println(a);
Answers
Answered by
1
1
Since the condition evaluates to True, Therefore 1 will be assigned to the variable since it is not of type boolean.
Similar questions