Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Java Mastery
·
Module 3
Exception Handling and I/O Streams
1
Exception Handling with Try-Catch-Finally
Handle checked and unchecked exceptions using try-catch-finally blocks.
2
Throwing and Catching Exceptions
Propagate exceptions using the 'throws' keyword and trigger them with 'throw'.
Custom Exception Handling in Java
Create custom exception classes by extending Exception or RuntimeException.
4
Automatic Resource Management with try-with-resources
Use the try-with-resources statement for automatic resource management.
5
File I/O with BufferedReader and BufferedWriter
Read from and write to text files using BufferedReader and BufferedWriter.
6
Object Serialization with ObjectInputStream and ObjectOutputStream
Serialize and deserialize Java objects using ObjectInputStream and ObjectOutputStream.
Previous module
Abstract Classes, Interfaces, and Packages
Next module
Java Collections and Generics