Which of the following function returns the array's final element?

19. Which of the following function returns the array's final element?

  1. Final()
  2. getLast()
  3. End()
  4. LastElement()

Answer: B) getLast()

Explanation:

The getLast() function returns the array's final element.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.