OOPs With Java For Tutorial 3
OOPs With Java For Tutorial 3
Tutorial-3
(Even Semester 2024-2026) Date: 08 April 2025
Subject Name: Object Oriented Programming Language and System with Java
Subject Code: CS34212
Program/Branch/Year: B.Tech./AIML/2nd Max Marks=6
1) Describe the process of defining, creating, and accessing a package in Java. Explain the
benefits of using packages. [BL=2]
2) Describe the benefits of exception handling in Java. Explain how it helps in writing robust
and maintainable code. [BL=2]
3) Explain the classification of exceptions in Java. Differentiate between checked exceptions
and unchecked exceptions with examples. [BL=2]
4) Describe the various states of a thread in Java. Explain the transitions between these states.
[BL=2]
5) Describe the techniques for synchronizing threads in Java. Explain how to use synchronized
methods and blocks for thread safety. [BL=2]
6) Describe the usage of try, catch, throw, throws, and finally in exception handling. Provide
examples to illustrate their usage. [BL=2]