what is the diff b/w arraylist and vector?

Answer Posted / mari

vector intriduced in 1.0 version thats why we called vector
is a legecy.and AL(1.2) is non legecy

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some OOPS Concepts in Java?

641


What does nullpointerexception mean?

617


Can we rethrow the same exception from catch handler?

566


How to Sort Strings which are given in List and display in ascending order without using java api.

3773


What is the major drawback of internal iteration over external iteration?

589






What is a website container?

509


Explain the concept of proper inheritance?

621


How will you serialize a singleton class without violating singleton pattern?

1524


What do you understand by synchronization?

596


how to create multithreaded program? Explain different ways of using thread? : Java thread

531


What will happen to the exception object after exception handling?

577


How static variable work in java?

602


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

1852


What is the difference between Error, defect,fault, failure and mistake?

660


What is the difference between serial and throughput garbage collector?

585