Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

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: 776

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Vector questions
It's not a secret anymore!