Interviewer And Interviewee Guide

Core Java Interview Question:

Explain the reason behind ending a program with a System.exit (0)?

Submitted by: Administrator
The reason behind ending a program with System.exit (0) involves technicalities. When main method exits the new thread automatically does not end. The appearance of this thread is because of dialog box functionality. System.exit ends all the methods.
Submitted by: Administrator

Read Online Core Java Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.