Are there any dynamic arrays in Java?
I'm a VB programmer, and i'm making a school project where i need to increment Clients (in memmory).
In VB i would do something like this:
Form Load
dim Client() as string
redim Client(1)
Button1_Click()
redim preserve Client(ubound(Client)+1)
Client(ubound(Client)-1)="Value"
//----------------------------------------
How can i do something like this in Java?
Is there a way?
(this is very important for me because its a school project)
My thanks in advanced
Comments
Regards,
Muruga
: Are there any dynamic arrays in Java?
: I'm a VB programmer, and i'm making a school project where i need to increment Clients (in memmory).
: In VB i would do something like this:
: Form Load
: dim Client() as string
: redim Client(1)
:
: Button1_Click()
: redim preserve Client(ubound(Client)+1)
: Client(ubound(Client)-1)="Value"
: //----------------------------------------
: How can i do something like this in Java?
: Is there a way?
: (this is very important for me because its a school project)
:
: My thanks in advanced
:
: