Skip to content

Please contribute and help others. Publish your article. Login

W3spoint

MENUMENU
  • Academics
    • Physics
    • Chemistry
    • Math
    • Biology
    • English
    • Hindi
  • Tutorials
    • Quartz Scheduler
    • Log4j
    • JUnit
    • Java Mail
    • Generics
    • JAXB
    • Jsoup
    • JSON
    • XML Parser
    • Data structure
  • Java
    • Java Tutorial
    • String handling
    • Exception handling
    • Multithreading
    • Input output
    • Collection framework
    • Java date time api
    • Java regex
    • Java annotations
    • Design principles
    • Design patterns
    • Java sample programs
    • Java 7 features
    • Java 8 features
  • Android
  • Servlet
  • JSP
  • Spring
    • Spring tutorial
    • Spring AOP tutorial
    • Spring DI tutorial
    • Spring MVC tutorial
    • Spring spel tutorial
    • Spring boot tutorial
    • Spring security tutorial
  • Hibernate
  • Ajax
  • WS
  • Python
  • Web
    • HTML
    • CSS
    • Javascript
    • jQuery
    • jQuery UI
    • PHP
    • TypeScript
    • ReactJS
    • BackboneJS
  • Angular
    • AngularJS
    • Angular 7
    • Angular 8
  • DB
    • SQL
    • MySQL
    • Oracle
    • PostgreSQL
    • PouchDB
    • MongoDB
    • SQLite
    • PL/SQL
  • Q&A
  • Quiz
  • More
    • Bootstrap
    • Bootstrap 4
    • Maven
    • Ant
    • JAR
    • WAR
    • JDBC
    • JPA
    • C
    • CPP

what is an exception?

by

Exception refers to an exceptional event. Exception is an event that disrupts the normal flow of the program, during program execution.

Java interview questions on exception handling

  • what is an exception?
  • How the exceptions are handled in java?
  • What is the difference between error and exception in java?
  • Can we keep other statements in between try catch and finally blocks?
  • Explain the exception hierarchy in java?
  • What are runtime exceptions in java?
  • What is outofmemoryerror in java?
  • What are checked and unchecked exceptions in java?
  • What is the difference between classnotfoundexception and noclassdeffounderror in java?
  • Will finally block get executed if return?
  • Can we throw an exception without throws?
  • What is rethrowing an exception in java?
  • What is the use of throws keyword in java?
  • What is exception propagation in java?
  • Difference between throw and throws in java?
  • What is finally in java?
  • What is the difference between final finally and finalize in java?
  • How to create customized exceptions in java?
  • What is classcastexception in java?
  • What is stackoverflowerror in java?
  • What is the superclass of all exception classes?
  • What is the use of printstacktrace method in java?
Please Share

Categories Interview questions
Post navigation
can we declare local inner class as abstract?
Error and exception in java

Related Posts

  • can a constructor call another constructor java?
  • ArrayStoreException in java
  • Blank final variable in java
  • Final variable in java
  • Mutable and immutable objects in java
  • Immutable String Java
  • List vs Set vs Map in Java
  • can an unreferenced objects be referenced again in java?
  • what is the use of final class in java?
  • Increase heap size
  • can a class implement two interfaces with the same method signature?
  • can an interface be declared final in java?
  • difference between array and arraylist in java?
  • HashMap vs LinkedHashMap vs TreeMap vs HashTable in Java
  • can we keep other statements in between try catch and finally blocks?
  • are true and false keywords in java?
  • Priority of garbage collector thread
  • is string a keyword in java?
  • Error and exception in java
  • ClassNotFoundException vs NoClassDefFoundError in java










Official Sites

  • OpenJDK
  • Oracle JDK
  • Maven
  • Oracle Java Official
  • Spring Official
  • Gradle
  • Docker Official
  • Kotlin
  • Android Developer

Popular Tutorial

  • Java
  • Spring
  • HTML
  • MySQL
  • Android
  • Python
  • JavaScript
  • Angular
  • PHP

Academics

  • Physics
  • Chemistry
  • Math
  • Biology
  • English
  • Hindi

Contact:

  • Contact US
Install W3point App DMCA.com Protection Status SiteMap
© Copyright 2021 W3spoint.com. All rights reserved.
Scroll back to top