Vector class extends ArrayList