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");
  • (A) DISTINCTION
  • (B) PASS
  • (C) Compiler error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (A) DISTINCTION

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
252
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
92%
Success Rate