πŸ“Š JAVA
Q. What is the output of the Java code snippet?
Code:
int a=10, b=6;
int c = a+b*5;
System.out.println(c);
  • (A) 40
  • (B) 50
  • (C) 80
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 40

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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