Ebaneck / Epita-Java-Project

Introduction to java course project
0 stars 1 forks source link

kill console #4

Open Donabay opened 6 years ago

Donabay commented 6 years ago

System.exit(0) seems not to work for the option 4 which is exit

Ebaneck commented 6 years ago

I think this is mistaken.. selecting option 4, the console actually stops to respond to user input. This to me means the application has terminated

Look at this for referencing: https://stackoverflow.com/questions/2670956/how-to-quit-a-java-app-from-within-the-program

Donabay commented 6 years ago

i was thinking of something like when the user clicks on option 4, the console will close but it is okay.