aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Advanced Java Programming
  • Which of the following methods in vector class of java re...
Multiple choice

Which of the following methods in vector class of java returns the capacity of the vector?

  1. addElement()

  2. clone()

  3. capacity()

  4. none of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This method in vector class of java returns the capacity of the vector.

Keep practicing — related questions

  • Which of the following is a method of Vector class in Java Collection Framework?
  • Which of the following methods in vector class of java returns the string equivalent of the vector?
  • Which of the following methods of Vector class returns the element at the location specified by the argumen...
  • Which of the following functions of vector class gives current capacity of the vector?
  • Which of the following methods is present in the vector class in Java?
  • Which of the following methods are present in the vector class in java?
  • Which of the following methods is/are present in the Vector class?
  • Which of the following methods is present in the Vector class?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy