How will you make a program interruptible in case system was needed to perform other task of the user ?
Is this a Java specific question? Could you please rename the title of your question? Java seems like a misleading title. Also please add more details to your question, such as your answer and any follow up from the interviewer?