• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

collection

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the following questions of Marcus Green's Mock Exam-2,
there are methods which are not mentioned specifically to be as part of the Colllection Interface or as part of the Collection(in specific here Vector) classes in the K&B book.

Which of the following methods are members of the Vector class and allow you to input a new element

1) addElement----( This is the Answer, not mentioned in K&B)
2) insert
3) append
4) addItem

Which of the following are methods of the Collection interface?
1) iterator
2) isEmpty----( This is the Answer, not mentioned in K&B)
3) toArray----( This is the Answer, not mentioned in K&B)
4) setText

So, My question is does the exam really has such questions about the stuff(that has to be memorized) which is not specifically mentioned in the K&B book.

i guess this Q was previously asked ,i wanted the link to the answer.
 
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Cybel,

i guess this Q was previously asked ,i wanted the link to the answer.



This question was asked recently in this thread.

Joyce
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic