Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Java
Terminate Program command
Terminate Program command
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
vman595
New Member
Join Date:
May 2007
Posts:
7
#1
Terminate Program command
Jul 10 '07, 09:01 AM
Hey guys, does anyone know of a command in java that will close down the entire program?
Thanks
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#2
Jul 10 '07, 09:09 AM
Originally posted by
vman595
Hey guys, does anyone know of a command in java that will close down the entire program?
Thanks
[CODE=java]System.exit(0);[/CODE]
Hint: You should make an effort to find out what the 0 is for there and what the other options are.
Comment
Post
Cancel
vman595
New Member
Join Date:
May 2007
Posts:
7
#3
Jul 10 '07, 09:38 AM
Originally posted by
r035198x
[CODE=java]System.exit(0);[/CODE]
Hint: You should make an effort to find out what the 0 is for there and what the other options are.
Thanks man, I tried System.exit(0); but I forgot the capital previously. =P
Comment
Post
Cancel
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#4
Jul 10 '07, 10:21 AM
Originally posted by
vman595
Thanks man, I tried System.exit(0); but I forgot the capital previously. =P
Yeah, they made the stupid language case sensitive.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment