wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Vector questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Vector questions" Watch "Vector questions" New topic

Vector questions

Andrew Parker
Ranch Hand

Joined: Nov 12, 2001
Posts: 178
I have some questions regarding the following vector coding:

Thanks for help.
[This message has been edited by Cindy Glass (edited December 17, 2001).]
Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

Q) What is object? java.lang.Object?
A) Object is the root superclass by default.
Q) where is size() method located? I cannot find it in the doc?
A) java.util.Vector
Q) why it does not need to pass obj - "new String(s)"?
Is s an object already?
A) It is an object reference.


Andrew Parker
Ranch Hand

Joined: Nov 12, 2001
Posts: 178
Thanks and I've got other answers from the API.
I agree. Here's the link: http://aspose.com/file-tools
subject: Vector questions
Similar Threads
hashtable with Vector
Sun Cirtification
primitive widening doubt