RAJARAJESWARI COLLEGE OF ENGINEERING
COMPUTER SCIENCE & ENGINEERING
Assignment - III
Subject: Object Oriented Programming with JAVA
Subject Code: BCS306A
1. What is exception? Explain the following keywords with respect to exception handling in Java
i) try ii) catch
2. What is nested try? Explain with an example program.
3. Explain the following with respect to java.
iii) throw iv)throws
4. Illustrate Multiple Catch Claues with suitable programming example.
5. What is finally? Explain with suitable programming examples.
6. What are Enumeration? write the program to illustrate working of enumerations in Java.
7. Explain values() and valueof() functions with suitable programming example.
8. What is Autoboxing? Write a Java program that demonstrates autoboxing/unboxing occurs
inside expressions.
9. What do you mean by Type Wrappers? Explain numeric type wrapper with an example.
10. What is thread? How you will create and start a Thread. Demonstrate with example.
11. Write a program to demonstrate isAlive( ) & join( ) methods.
12. Write a program using java to demonstrate synchronization.