Java using collections


Let's say that we import java.util.Vector to use the methods of the vector classes, which is good in my case. in the same way. Why do we write the methods?