Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between add() and addElement()
method in Vector Class ?

Answer Posted / sandhya sree malladi

This method is identical in functionality to the add
(Object) method (which is part of the List interface).

add(Object ) is due the fact that Vector implements List
Interface and it is appeared since Java 1.2 when Vector was
moved to Collections: The collection classes from earlier
releases, Vector and Hashtable, have been retrofitted to
implement the collection interfaces.

addElement is "original" Vector's method....

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of final keyword and when to use it?

997


What is boolean example?

963


Why synchronization is important?

1018


What is style and indentation?

1006


What is meant by the value of a variable?

915


How can an exception be thrown manually by a programmer?

988


Is an integer an object?

955


Is a method a function?

1050


How do you escape json?

992


What is array and arraylist in java?

1101


What is arrays fill in java?

999


worst case complexities of Quick sort and Merge sort.

1018


Explain the difference between runnable and callable interface in java?

1041


What is identifier give example?

1026


Write a program in java to find the maximum and minimum value node from a circular linked list.

1074