Home » JAVA Programming » Exceptions » Question
  1. What is the output of this program?
    public class Without_Catch
    {
    public static void main(String args[])
    {
    try
    {
    System.out.print("Interview Mania ");
    }
    finally
    {
    System.out.println("Finally executed.. ");
    }
    }
    }
    1. Interview Mania
    2. Finally Executed
    3. Runtime Error
    4. Compilation Error
    5. Interview Mania Finally executed..
Correct Option: E

Interview Mania Finally executed..



Your comments will be displayed only after manual approval.