Skip to content
OOPS with Java Unit 2 Notes AKTU (BCS-403)

OOPS with Java Unit 2 Notes AKTU (BCS-403)

Download AKTU OOPS with Java Unit 2 Notes (BCS-403). Covers Exception Handling, try-catch-finally, Checked & Unchecked Exceptions, File I/O, Byte & Character Streams, and Multithreading with 5 Years PYQ solutions in handwritten PDF format.


OOPS with Java Unit 2 Notes – AKTU (BCS-403)

OOPS with Java Unit 2 is one of the most scoring units in AKTU B.Tech CSE (BCS-403). This unit mainly focuses on Exception Handling, File Handling (I/O), and Multithreading — topics that are repeatedly asked in semester exams.

If your concepts are clear in this unit, you can easily secure strong marks in both short and long answer questions.


What is Covered in Unit 2?

Unit 2 builds practical understanding of how Java handles errors, manages files, and executes multiple tasks at the same time.

The major areas include:

  • Exception Handling in Java
  • Input and Output (I/O) Streams
  • Multithreading and Synchronization

Let’s understand each part in a simple way.


1. Exception Handling in Java

Exception Handling helps in managing runtime errors so that the program does not terminate abruptly.

Important concepts from this section:

  • Difference between Error and Exception
  • Types of Exceptions
  • Control flow in exception handling
  • try, catch, finally blocks
  • throw and throws keywords
  • Checked and Unchecked Exceptions
  • User-defined Exceptions

In AKTU exams, questions are often asked on:

  • Checked vs Unchecked Exceptions
  • Purpose of finally block
  • Example-based explanation of try-catch

Clear definitions with examples can fetch full marks.


2. Input / Output Basics (File Handling)

Java uses Streams to perform input and output operations.

This section includes:

  • Byte Streams
  • Character Streams
  • Reading files in Java
  • Writing files in Java
  • FileInputStream and FileOutputStream
  • BufferedReader and BufferedWriter

Common exam questions include:

  • Difference between Byte Stream and Character Stream
  • Program to read a file
  • Short note on File Handling

Understanding stream hierarchy makes answers more structured.


3. Multithreading in Java

Multithreading allows multiple tasks to run simultaneously in a program.

Key topics covered:

  • What is a Thread?
  • Thread Life Cycle
  • Creating Threads
  • Thread Priorities
  • Synchronization
  • Inter-thread Communication

The Thread Life Cycle diagram is frequently asked in AKTU exams. Make sure you can draw and explain it properly.


Why Unit 2 is Important for AKTU Students

Unit 2 is practical and application-based. It tests whether you understand:

  • How Java handles runtime errors
  • How files are processed
  • How concurrent execution works

Many 7-mark and 10-mark questions come directly from this unit.


Handwritten Notes + 5 Years PYQ

For quick revision, we have prepared structured handwritten notes including:

  • Important definitions
  • Concept explanations in simple language
  • Frequently asked previous year questions
  • Exam-oriented answers
  • Diagrams where required

These notes are designed especially for AKTU BCS-403 students who want focused preparation without wasting time.

Download the complete Unit 2 PDF below for detailed preparation.

Preview Notes

Preview
📥 Download Full Notes PDF