DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
OOPS THROUGH JAVA
CSE-A, B & C B.Tech 2ND YEAR 2nd Semester Last Date of submission: 20/06/2024
Faculty: A.Yugandhar/D.J.Santosh Kumar
Assignment-3
1. (A)Why Strings are immutable objects in java explain with the help of program?
[5M,CO3,Analyze]
(B)How do you compare two Strings explain different ways to compare?
[5M,CO3,Analyze]
2. (A)Illustrate Java Program to Add Characters to a String. [5M,CO3, Understand]
(B)How Queue and Map involved in java applications? [5M,CO3, Understand]
Assignment-4
1.A) What is java serialization? Pass two arguments at object creation to
FILEOUTPUT stream to write objects. [5M,CO4, Understand]
B) What is an Exception? Explain different types of Exceptions?
[5M,CO4, Understand]
2 A) Explain nested try catch blocks in exception handling with program code?
[5M,CO4, Apply]
B) How to create user defined exceptions in java? Justify your answer?
[5M,CO4, Understand]
Assignment-5
1. (A)What is meant by Thread Synchronization in JAVA programming? Why it is
important? With a sample program, explain the JAVA’s language-level support for
synchronizing threads? [5M,CO5, Understand]
B) What is Layout Manager in java? Explain different types of Layout Mangers
with suitable example? [5M, CO5, Understand]
2. (A) Explain the Applet Life Cycle with neat sketch? [5M, CO5, Understand]
(B)Explain priorities of thread with an Example? [5M, CO5, Understand]