2nd year Java qn
2nd year Java qn
Qo4 o ulo
Qucstion Paper Code: KN22680
B.E./B.Tech. DEGREE EXAMINATIONS, NOVEMBER 2022
Semester I
Compuler Science and Engineering
CS2202-Object Oriented Programming using Java
(Common to CSE, AI & DS)
(Regulation: KCET R2021 (CBCS)
class
4. How do you restrict class to derive new class? Explain. KI - Remember
KI - Remember
10 What is meant by Adapter Class?
12(a) Explain in details aboul various type of inheritances with K2- Understand
an example
(OR)
2 (b) Explain in detail about Interface with an example K2 -Understand
13 (a) Explain Exception Handling mechanism with an example K2 - Understand
P'age I of 2
(OR)
13 (b) Illustrate Input and Output Stream with an example K2 - Understand
14 (a) Apply multithreading for the threads TI and T2: TI to K3- Apply
generate Odd numbers from 1 ton and T2 to generate
Even numbers from I to n
(OR)
14 (b) Apply a generic method for sorting given aray of integers K3 Apply
and characters
(OR)
15 (b) Develop a program to createa student course registration K3 Apply
database and display the course registration details using
JDBC
Page 2 of 2