• Post Reply Bookmark Topic Watch Topic
  • New Topic

Throwable array  RSS feed

 
kir kum
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I have found this question can any one give the answer.
And also What is throwable array.

To implement a throwable array which class is used in java?

A. Vector
B. ArrayList
c. Stack
D. LinkedList
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question makes no sense at all. First, there's no such thing as a "throwable array;" and second, an array is a built-in datatype, so you'd use none of these to implement one -- you don't implement them at all.

Perhaps it said a "growable array?"
 
kir kum
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is growable array then the answer is array list is it correct.
 
Paul Clapham
Sheriff
Posts: 22697
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No such thing as a throwable array?But yes, the phrase doesn't make any sense in the context given.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Clapham:
No such thing as a throwable array?


That's an array of Throwables, but obviously not an array that is throwable...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!