由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Array of vector, help
相关主题
问一道关于Vector的题Special Thanks to TAR
oracle help: pass array to oracle SPjBuiler 4白皮书(来自inprise网站)
[转载] JBuilder8只能装在rh上?JVM
哪里下载JBuilder8或9完全版?Re: 请推荐Java编译环境或软件?
Hibernate queryRe: jbuilder的光标为什么不在列的最后
JDK1.3.0 is really fastJBUILDER 5 NEW FEATURES
Re: JDBC and SybaseJBuilder 5 EE download
Re: jbuilder current working dir?Strongly recommend Eclipse
相关话题的讨论汇总
话题: vector话题: array话题: tables话题: use话题: what
进入Java版参与讨论
1 (共1页)
e****y
发帖数: 26
1
I use JBuilder8
I wanna declare a array of vector, so i use:
Vector[] tables = new Vector[20];
It seems okay now. But when i try to use like
tables[1]
JBuilder will send error information.
What's wrong? I am not good at java.
Thanks.
g*****g
发帖数: 34805
2
Come on, if you want help, provide detailed info like what the error message
is. Probably because you didn't create Vector though.
for(i=0; i<20; i++){
tables[i] = new Vector();
}

【在 e****y 的大作中提到】
: I use JBuilder8
: I wanna declare a array of vector, so i use:
: Vector[] tables = new Vector[20];
: It seems okay now. But when i try to use like
: tables[1]
: JBuilder will send error information.
: What's wrong? I am not good at java.
: Thanks.

e****y
发帖数: 26
3
Got it.3ks

【在 g*****g 的大作中提到】
: Come on, if you want help, provide detailed info like what the error message
: is. Probably because you didn't create Vector though.
: for(i=0; i<20; i++){
: tables[i] = new Vector();
: }

1 (共1页)
进入Java版参与讨论
相关主题
Strongly recommend EclipseHibernate query
How to compile a Java program with import my own package in UNIXJDK1.3.0 is really fast
关于Jbuilder7???Re: JDBC and Sybase
菜鸟问题一问Re: jbuilder current working dir?
问一道关于Vector的题Special Thanks to TAR
oracle help: pass array to oracle SPjBuiler 4白皮书(来自inprise网站)
[转载] JBuilder8只能装在rh上?JVM
哪里下载JBuilder8或9完全版?Re: 请推荐Java编译环境或软件?
相关话题的讨论汇总
话题: vector话题: array话题: tables话题: use话题: what