ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Revision Graph
|
Root Listing
root
/
i-scream
/
experimental
/
misc
/
JVMManager
/
HelloWorld1.java
Revision:
1.1
Committed:
Fri Nov 3 22:05:33 2000 UTC
(24 years, 1 month ago) by
ajm
Branch:
MAIN
CVS Tags:
PROJECT_COMPLETION, HEAD
Log Message:
Checked in the JVMManager, a look at running multiple classes in a single VM
File Contents
#
Content
1
class
HelloWorld1
{
2
public
static
void
main
(
String
[]
args
)
{
3
try
{
4
for
(
int
i
=
0
;
i
<=
10
;
i
++
)
{
5
System
.
out
.
println
(
"Hello World 1 - should finish after 10 ("
+
i
+
")"
);
6
Thread
.
sleep
(
1000
);
7
}
8
}
catch
(
Exception
e
)
{
9
}
10
}
11
}