To print the last element in the array named ar, you can write : A. System. out. println (ar. length);
B. System. out. println (ar[length]);
C. System. out. println (ar[ar. length]);
D. None of these
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “To print the last element in the array named ar, you can write : A. System. out. println (ar. length); B. System. out. println ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Home » Computers and Technology » To print the last element in the array named ar, you can write : A. System. out. println (ar. length); B. System. out. println (ar[length]); C. System. out. println (ar[ar. length]); D. None of these