Q. What is the output of the Java program?

Code:
int marks=29;
if(marks > 29);
   System.out.print("PASS ");
System.out.println("RANK");
  • (A) RANK
  • (B) PASS
  • (C) PASS RANK
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (C) PASS RANK

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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