Q. What will be the output?

Code:
System.out.println("5" + 5 * 5);
  • (A) 255
  • (B) 525
  • (C) 55
  • (D) Compilation Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 525
Explanation: 5*5=25 then concatenation gives 525.
Explanation by: Roshan
5*5=25 then concatenation gives 525.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
11
Total Visits
πŸ“½οΈ
2 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
98%
Success Rate