Skip to content

W3schools

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
    • 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
    • Stories
  • Python
  • Web
    • HTML
    • CSS
    • Javascript
    • jQuery
    • jQuery UI
    • PHP
    • TypeScript
    • ReactJS
    • BackboneJS
    • Bootstrap
      • Bootstrap
      • Bootstrap 4
    • XML
      • XML
      • XML DOM
      • XPath
      • XSLT
      • DTD
      • XSD
      • XQuery
  • Angular
    • AngularJS
    • Angular 7
    • Angular 8
  • DB
    • SQL
    • MySQL
    • Oracle
    • PostgreSQL
    • PouchDB
    • MongoDB
    • SQLite
    • PL/SQL
    • DBMS Tutorial
  • C
  • Q&A
  • Quiz
  • More
    • CPP
    • JSF
    • JDBC
    • JPA
    • WordPress
    • Maven
    • Shell/Bash
    • Julia
    • Ant
    • Scala
    • JAR
    • WAR
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
    • 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
    • Stories
  • Python
  • Web
    • HTML
    • CSS
    • Javascript
    • jQuery
    • jQuery UI
    • PHP
    • TypeScript
    • ReactJS
    • BackboneJS
    • Bootstrap
      • Bootstrap
      • Bootstrap 4
    • XML
      • XML
      • XML DOM
      • XPath
      • XSLT
      • DTD
      • XSD
      • XQuery
  • Angular
    • AngularJS
    • Angular 7
    • Angular 8
  • DB
    • SQL
    • MySQL
    • Oracle
    • PostgreSQL
    • PouchDB
    • MongoDB
    • SQLite
    • PL/SQL
    • DBMS Tutorial
  • C
  • Q&A
  • Quiz
  • More
    • CPP
    • JSF
    • JDBC
    • JPA
    • WordPress
    • Maven
    • Shell/Bash
    • Julia
    • Ant
    • Scala
    • JAR
    • WAR

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?
Content Protection by DMCA.com
Please Share
Categories Interview questions
Post navigation
can we declare local inner class as abstract?
Error and exception in java

Related Posts

  • What happens if you keep return type for a constructor?
  • JUnit Interview Questions and Answers
  • can you declare an interface method static in java?
  • is it possible to override non static method as static method?
  • Checked and unchecked exceptions in java
  • Can static method be overridden?
  • HashMap vs LinkedHashMap vs TreeMap vs HashTable in Java
  • can we keep other statements in between try catch and finally blocks?
  • HashSet vs LinkedHashSet vs TreeSet In Java
  • can we use this() and super() in a method?
  • HashSet vs HashMap vs HashTable in java
  • Why Java is not a purely Object-Oriented Language?
  • List vs Set vs Map in Java
  • can overloaded method be overridden?
  • Call subclass constructor from superclass constructor
  • is map collection in java?
  • Initialize blank final variable in java
  • can we use abstract and final both with a method?
  • is string a primitive type or derived type?
  • Priority of garbage collector thread

Popular Tutorial

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

Academics

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

Contact:

  • Contact US

Referenced Sites

  • OpenJDK
  • Oracle JDK
  • Maven
  • Oracle Java Official
  • Spring Official
  • Gradle
  • Docker Official
  • Kotlin
  • Android Developer
© Copyright 2022 W3schools.blog. All rights reserved. SiteMap