Sam
Sam

Reputation: 3167

Terminate a console application in Java

Is there a command that terminates a console application, something like: System.exit(0) as we have in Swing? Thanks.

S.

Upvotes: 1

Views: 31473

Answers (1)

user520458
user520458

Reputation:

System.exit(0) works the same.

Upvotes: 14

Related Questions