Explain the reason behind ending a program with a System.exit (0)?
Submitted by: AdministratorThe 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
Submitted by: Administrator
Read Online Core Java Job Interview Questions And Answers
Top Core Java Questions
☺ | Explain the reason behind ending a program with a System.exit (0)? |
☺ | Explain about the select method with an example? |
☺ | Explain about inheritance hierarchies? |
☺ | Explain about the interpreter in Java? |
☺ | Explain about Core Java? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |