This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Vectors...

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By any means, are "vectors" included in SCJP 1.4 exam ?

Shruti
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes it is. it comes under collections. vector is one of the collection class. u have to know about vectors for scjp 1.4
 
Poonam Advani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ya, but i read that it comes under "Historical Collection Classes" ? what does that mean then ?

too confused



Shruti
 
Poonam Advani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Somebody Please answer

Shruti
 
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Shruti Advani:
ya, but i read that it comes under "Historical Collection Classes" ? what does that mean then ?

too confused



Shruti



Before JDK 2.0 was released there were few classes like Vector, Hashtable etc to hold a list of objects. But however they didn't have a proper uniform framework. These classes were called Legacy or Historical Collection Classes.
But JDK 2.0 came up with a standard framework for Collection classes (like ArrayList, LinkedList, HaspMap etc.) called Collections Framework.
Currently even the Legacy classes like Vector etc have been refactored to follow the Collections Framework
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For the you should know that Vectors have synchronized methods
and thus it is Bit inefficient as compared to ArrayList class.

The ArrayList class provides the same functionality that of
Vector But supports unsynchronized methods so it is more efficient.

If you need thread safty you can use utulity methods of class
Collections.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi there
yaa Vector Come in SCJP1.4
List is a interface and which is extends by following classes

arrayList
Vector
Linklist

so for the Purpose of Exam you should know which Data Structure is more appropriate at what time.

there can be question from Vector Specifically in SCJP 1.4 exam
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic