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 / sathya


add(int indx, Object e): Inserts the specified element at
the specified position in this Vector.Return type void

add(Object e):Appends the specified element to the end of
this Vector.Return type boolean

addElement(Object obj): Adds the specified component to the
end of this vector, increasing its size by one.Return type void.

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of threads are there in java?

1059


What are the Main functions of Java?

1092


Explain differences between checked and unchecked exceptions in java?

1064


What is the gregoriancalendar class in java programming?

1043


What is binary search in java?

995


What is JFC?

1243


What is boolean law?

1066


Difference between default and protected access specifiers?

1124


Is java an open source?

971


Name some OOPS Concepts in Java?

1071


What do you understand by private, protected and public?

1039


What is the internal implementation of set in java?

930


Discuss 2D arrays.

1048


Why do we create public static method in java?

1112


What is an arraylist in java?

1076