Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these method of ArrayList class is used to obtain present size of an object?
  2. A.
    size()
    B.
    length()
    C.
    index()
    D.
    capacity()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    size()


Be The First To Comment