top of page
Home: Welcome
Search


Exception Handling
What is an exception ? Exception is an unwanted and unexpected error which occurs while running the normal flow of the programme . An...

Keshari Abeysinghe
Feb 29, 20203 min read
Â
Â
Â
Try -Catch in Java
Try block The try block contains set of statements where an exception can occur. A try block is always followed by a catch block, which...

Keshari Abeysinghe
Feb 28, 20202 min read
Â
Â
Â
Multiple Catch block in java
A try block can be followed by multiple catch blocks.lets see few rules about multiple catch blocks with the help of examples. To read...

Keshari Abeysinghe
Feb 27, 20201 min read
Â
Â
Â
Nested Try-Catch block
When a try catch block is present in another try block then it is called the nested try catch block.Sometimes a situation may arise where...

Keshari Abeysinghe
Feb 25, 20201 min read
Â
Â
Â


Use of Throw and Throws keywords in Java
In Java we have already defined exception classes such as ArithmeticException, NullPointerException, ArrayIndexOutOfBounds exception etc....

Keshari Abeysinghe
Feb 24, 20202 min read
Â
Â
Â
bottom of page