in C it was something like return 0;
return 0;
right? what about java (to end program when user inputs the letter 'q'?