0% found this document useful (0 votes)
5 views1 page

Cse Java Assignments 2023-2024

The document outlines assignments for B.Tech 2nd year students in Computer Science & Engineering, focusing on Object-Oriented Programming (OOP) through Java. It includes topics such as string immutability, string comparison, Java serialization, exception handling, thread synchronization, and layout managers. Each assignment consists of multiple questions aimed at assessing students' understanding and application of Java concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Cse Java Assignments 2023-2024

The document outlines assignments for B.Tech 2nd year students in Computer Science & Engineering, focusing on Object-Oriented Programming (OOP) through Java. It includes topics such as string immutability, string comparison, Java serialization, exception handling, thread synchronization, and layout managers. Each assignment consists of multiple questions aimed at assessing students' understanding and application of Java concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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]

You might also like