Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Exception Handling

Objective

In this project, we will learn to handle and manage errors or exceptional conditions that can occur during the execution of a program.

Concepts

Concept Resources
What is an Exception Handling Exception Handling Concept
Exception Handling Using try catch Exception Handling (Tutorial)
Exception Handling, ArrayIndexOutOfBoundsException ArrayIndexOutOfBoundsException

Problem

Using the provided code snippet, find the issue in the program and handle it.

Implementation

The main class contain an error, handle it using try and catch to resolve it.

public class Main {
    public static void main(String[] args) {

    int[] myNumbers = {1, 2, 3};
    System.out.println(myNumbers[10]);

  }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages