Q. What is is the output of the Java program?
Code:int marks=85;
if(marks >= 80)
System.out.println("DISTINCTION");
else if(marks >=35)
System.out.println("PASS");
β
Correct Answer: (A)
DISTINCTION
int marks=85;
if(marks >= 80)
System.out.println("DISTINCTION");
else if(marks >=35)
System.out.println("PASS");
You must be Logged in to update hint/solution