πŸ“Š JAVA
Q. What is the output of the below Java program?
Code:
int[] marks = {35,65,95}; 
System.out.print(marks.length + "," + marks[1]);
  • (A) 2,65
  • (B) 3,95
  • (C) 3,65
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 3,65

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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