Computer Science, asked by Boonsai301, 10 months ago

What would be the output of the following code?
int a= 25<40;
System.out.println(a);

Answers

Answered by Anonymous
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