import java.util.Vector;public class MainClass { public static void main(String args[]) { Vector v = new Vector(); v.add("A"); v.add("B"); boolean isContaining = v.contains("B"); System.out.println(isContaining); }} true