Lecture Notes and Examples

Exceptions in Java

Last modified on Sunday, Feb 9, 2025

Exceptions Hierarchy

Last modified on Sunday, Feb 9, 2025

Java I/O API

Lecture note on the Java IO (Input/Output) API

Last modified on Sunday, Feb 9, 2025

Java NIO (New Input/Output) API

Lecture note on the Java NIO (New Input/Output) API.

Last modified on Tuesday, Feb 25, 2025

Lambda Expression

Last modified on Sunday, Mar 2, 2025

Java Threads

This lecture note provides an in-depth overview of Java thread creation mechanisms, thread lifecycle states, and thread priorities with code examples.

Last modified on Friday, Mar 7, 2025

Concurrency Issues: Race Conditions and Deadlocks

This lecture note discusses two major issues in multithreading: race conditions and deadlocks. It demonstrates how to safely access and modify shared resources in multithreading systems and avoid deadlocks.

Last modified on Friday, Apr 11, 2025

Java Networking

Lecture note on Java Networking API and Socket Programming

Last modified on Wednesday, Apr 16, 2025

Databases

This lecture note covers Java Database Connectivity (JDBC), including database fundamentals, SQL operations, setting up MySQL and PostgreSQL databases using Docker, protecting against SQL injection through prepared statements, and implementing CRUD operations with practical examples and best practices.

Last modified on Saturday, May 3, 2025