• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Vector questions

 
Andrew Parker
Ranch Hand
Posts: 178
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have some questions regarding the following vector coding:

Thanks for help.
Andrew
[This message has been edited by Cindy Glass (edited December 17, 2001).]
 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 178
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks and I've got other answers from the API.
Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic