Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What happens when exception is thrown by main method?

Category: Java

When exception is thrown by main() method, Java Runtime terminates the program and print the exception message and stack trace in system console.

Leave a Reply

Your email address will not be published. Required fields are marked *