Answer Posted / manikandan
Exception come is several flavours such as
RuntimeExceptions, Errors, Checked and Unchecked. The 3
major types of exception are ,
(1) RuntimeException : Error that can occur in almost any
code (Eg)NullPointerException
(2) Error : Serious error you really should not try to
catch, e.g. OutOfMemoryError.
(3) Checked Exception : Likely exceptional condition that
can only occur in specific places in the code e.g.
EOFException.
Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
What is garbage collector?
What does n mean?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
Explain the selection sort algorithm?
What is the difference between synchronized and synchronized block?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What is append function?
Explain a few methods of overloading best practices in java?
Explain naming conventions for packages?
What is lazy initialization in java?
How does multithreading take place on a computer with a single cpu?
Define packages in java?
What does super keyword do?
What is the difference between the prefix and postfix forms of the ++ operator?
What are the different types of inheritance in java?