Write a java programs to add n strings in a vector array. Input new string and check whether it is present in the vector. If it is present delete it otherwise add it to the vector.
Answers
Answered by
1
Answer:
Vectors in Java are one of the most commonly used data structures in the programming world. We all know that Arrays are data structures that hold the data in a linear fashion. Vectors also store the data in a linear fashion, but unlike Arrays, they do not have a fixed size. Instead, their size can be increased on demand.
Plzz mark me as a brainliest
Similar questions
Physics,
4 months ago
India Languages,
9 months ago
Physics,
9 months ago
Math,
1 year ago
English,
1 year ago