Write the output of the following : int b=40; int a=77; int R= a+b<150 ?b:a: System.out.println(R);
Just give the exact one word number
Answers
Answered by
0
Answer:
You have entered wrong program.
Explanation:
It should be:
public class brainly
{
public static void main()
{
int a=77;
int b=40;
boolean R= a+b<150;
System.out.println(R);
}//main ends
}//class ends
Output:
True
This program is of boolean and therefore int cannot be used here.
Pls mark Brainliest and follow me for more answers with explanation...
Similar questions