Is exit a keyword in Java?

Q

Is exit a keyword in Java?

✍: Guest

A

No. To exit a program explicitly you use exit method in System object.

2013-06-27, 2790👍, 0💬