Is it valid to use System.exit() is it possible that i am getting NECRun time error because of that ?
Compilation was successfull and got rid of Run Time error after using System.exit(0)..