method:new Vector ( length );return type:Vectorcontent:ใช้สร้าง object vector โดยมีขนาดตามที่กำหนดexample:Vector vector = new Vector ( 20 );