πŸ“Š JAVA
Q. What is the output of the Java code snippet?
Code:
int a=5, b=10, c=15;
a -= 3;
b *= 2;
c /= 5;
System.out.println(a +" " + b + " " + c);
  • (A) 2 20 3
  • (B) 2 20 5
  • (C) 2 10 5
  • (D) -2 20 3
πŸ’¬ Discuss
βœ… Correct Answer: (A) 2 20 3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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