Name the runtime exceptions that occurs frequently?
Answers were Sorted based on User's Feedback
Answer / alok
AnnotationTypeMismatchException, ArithmeticException,
ArrayStoreException, BufferOverflowException,
BufferUnderflowException, CannotRedoException,
CannotUndoException, ClassCastException, CMMException,
ConcurrentModificationException, DOMException,
EmptyStackException, EnumConstantNotPresentException,
EventException, IllegalArgumentException,
IllegalMonitorStateException, IllegalPathStateException,
IllegalStateException, ImagingOpException,
IncompleteAnnotationException, IndexOutOfBoundsException,
JMRuntimeException, LSException,
MalformedParameterizedTypeException,
MissingResourceException, NegativeArraySizeException,
NoSuchElementException, NullPointerException,
ProfileDataException, ProviderException,
RasterFormatException, RejectedExecutionException,
SecurityException, SystemException,
TypeNotPresentException, UndeclaredThrowableException,
UnmodifiableSetException, UnsupportedOperationException
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
null pointer exception
classnotfoundexception
| Is This Answer Correct ? | 1 Yes | 0 No |
Does constructor return any value?
What is the difference between Java Bean and Java Class.?
Explain the difference between hashmap and hashtable in java?
What are constants and how to create constants in java?
What modifiers can be used with a local inner class?
What JNDI(Java Naming and Directory Interface) provides?
What is a line break?
Difference between comparator and comparable in java?
What is the differnence between String Buffer and String builder despite having knowledge that String builder is faster than String Buffer and last one is threadsafe.please tell another important difference.
Explain notify() method of object class ?
What are parameters in a method?
What does compareto () do in java?