Java Exceptions
105 views · Published 5 February 2014 · 2:48 · Indexed 6 November 2026
Channel: Interview DOT · 2014 · Science & Technology
Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. Java Exceptions Java Exceptions A Job Portal http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm Are you looking for a new Job ? InterviewDot.com - A Job Portal http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm Short Java Interview Question And Answer ? 1.What is an Immutable Object ? Object that can't be changed after instantiation. 2.Difference between checked and unchecked exceptions ? Exceptions that are checked at compile-time are called checked exceptions, in Exception hierarchy all classes that extends Exception class except UncheckedException comes under checked exception. The exceptions that are not checked at compile time are called unchecked exceptions, classes that extends RuntimeException comes under unchecked exceptions.ArrayIndexOutOfBoundsException, NullPointerException 3.Give an Example of checked and unchecked exception ? ClassNotFoundException is checked exception whereas NoClassDefFoundError is a unchecked exception. 4.What is a Singleton Class ? Using which only 1 object can be created. 5.Name few Java exceptions ? IndexOutofBound , NoClassDefFound , OutOfMemory , IllegalArgument,illegalThreadStateException.
More from this channel
-
7:19
java pass by value
-
3:19
java interview best books
-
8:03
Explain java finally block
-
4:29
what are the advantages of OOPL Java Interview
-
2:40
what is java decompiler how to decompile java code
-
5:51
Top 4 Job Interview Tips How to prepare for Job interview
-
5:29
Top Job Interview TIPS What are your strengths How to answer
-
3:49
Top 16 Job Interview Questions Best Job Interview Questions