Answer to Question #145305 in Java | JSP | JSF for Hamza saeed

Question #145305
Select the best answer.
a. if (6 < 2 * 5)
System.out.print("Hello");
System.out.print(" There");
outputs the following:
i. Hello There ii. Hello iii. Hello iv. There
There
b. if ('a' > 'b' || 66 > (int)('A'))
System.out.println("#*#");
outputs the following:
i. #*# ii. # iii. * iv. none of these
*
#
c. if (7 <= 7)
System.out.println(6 - 9 * 2 / 6);
outputs the following:
i. -1 ii. 3 iii. 3.0 iv. none of these
d. if (7 < 8)
{
System.out.println("2 4 6 8");
System.out.println("1 3 5 7");
}
outputs the following:
i. 2 4 6 8 ii. 1 3 5 7 iii. none of these
1 3 5 7
e. if (5 < 3)
System.out.println("*");
else if (7 == 8)
System.out.println("&");
else
System.out.println("$");
outputs the following:
i. * ii. & iii. $ iv. none of these
1
Expert's answer
2020-11-19T08:31:30-0500

Answers:

a. i

b. i

c. ii

d. i

e. iv


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS