14.4 Vector vs ArrayList in Java

Veröffentlicht am: 03 April 2016
auf dem Kanal: Telusko
250,684
2.6k

what is vector?

Vector introduced in jdk 1.0. Vector is type of list which implement list same as array list.
It is dynamic array in which you can increased size of array. vector increased size by 100%.

what is difference between ArrayList and Vector?
Vector : 1) when exceed array limit it will increased capacity by 100%. It waste lots of memory.
2) Vector is thread safe.
3) It is slow.

ArrayList : 1) when exceed array limit it will increased capacity by 50%. It save memory.
2) ArrayList is not thread safe.
3) It is fast.

For more details, watch this video.

Check out our website: http://www.telusko.com

Follow Telusko on Twitter:   / navinreddy20  

Follow on Facebook:
Telusko :   / teluskolearnings  
Navin Reddy :   / navintelusko  

Follow Navin Reddy on Instagram:   / navinreddy20  

Subscribe to our other channel:
Navin Reddy :    / @navinreddy  
Telusko Hindi :
   / @teluskohindi   out our website: http://www.telusko.com

Follow Telusko on Twitter:   / navinreddy20  

Follow on Facebook:
Telusko :   / teluskolearnings  
Navin Reddy :   / navintelusko  

Follow Navin Reddy on Instagram:   / navinreddy20  

Subscribe to our other channel:
Navin Reddy :    / @navinreddy  
Telusko Hindi :
   / @teluskohindi  

Subscribe to the channel and learn Programming in easy way.

Java Tutorial for Beginners: https://goo.gl/p10QfB

C Tutorial Playlist : https://goo.gl/8v92pu

Android Tutorial for Beginners Playlist : https://goo.gl/MzlIUJ

XML Tutorial : https://goo.gl/Eo79do

Design Patterns in Java : https://goo.gl/Kd2MWE

Socket Programming in Java : https://goo.gl/jlMEbg

Spring MVC Tutorial : https://goo.gl/9ubbG2

OpenShift Tutorial for Beginners : https://goo.gl/s58BQH

Spring Framework with Maven : https://goo.gl/MaEluO

Sql Tutorial for Beginners : https://goo.gl/x3PrTg

String Handling in Java : https://goo.gl/zUdPwa

Array in Java : https://goo.gl/uXTaUy

Java Servlet : https://goo.gl/R5nHp8

Exception Handling in Java : https://goo.gl/N4NbAW


Auf dieser Seite können Sie das Online-Video 14.4 Vector vs ArrayList in Java mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Telusko 03 April 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 250,684 Mal angesehen und es wurde von 2.6 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!