Which of the following statements is true regarding Vectors-06104
Which of the following statements is true regarding Vectors with no specified base type?
This multiple choice question (MCQ) is related to the book/course vu cs506 Web Design and Development. It can also be found in vu cs506 Mid Term - Quiz No.3.
Which of the following statements is true regarding Vectors with no specified base type?
A base type is needed, because Java needs to know how to allocate memory.
No base type is needed, because Java will use the Object class as a base type.
If a base type is not specified the code will not compile.
No base type is needed because Vectors default to storing String objects.