How do i store a value in JVM

hi all..,How do i store a value in JVM..is there any tech to store.....could anyone help me reg.this.........
[123 byte] By [gunmarka] at [2007-11-26 13:02:09]
# 1

Not sure what you mean.

If you want to store a value in a variable, declare the type and name and assign the value to it.

This only lives as long as your program does. If you want that value to persist even after your program ends you'll need to write it to a file or store it in a database.

%

duffymoa at 2007-7-7 17:04:48 > top of Java-index,Java Essentials,Java Programming...
# 2

> hi all..,

>

> How do i store a value in JVM..is there any

> tech to store.....could anyone help me

> reg.this.........

int i = 0;

That's one possible interpretation. If you provide more detail about what it is you're attempting or need to do, perhaps we can provide a more useful answer.

And please use only one period at a time.

Thanks.

~

yawmarka at 2007-7-7 17:04:48 > top of Java-index,Java Essentials,Java Programming...
# 3
> This only lives as long as your program does. If you> want that value to persist even after your program> ends you'll need to write it to a file or store it in> a database.Or use Preferences.
CeciNEstPasUnProgrammeura at 2007-7-7 17:04:48 > top of Java-index,Java Essentials,Java Programming...