0% found this document useful (0 votes)
12 views4 pages

Java OOP Exam Questions 2023

The document outlines the examination structure for the course 'Object Oriented Programming with Java' for April-May 2023, including instructions for attempting questions. It consists of five questions, each with compulsory and optional parts covering various topics such as OOP concepts, memory management, exception handling, threading, JDBC, and collections. Each question is designed to assess students' understanding and practical application of Java programming principles.

Uploaded by

amanadil2022
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Java OOP Exam Questions 2023

The document outlines the examination structure for the course 'Object Oriented Programming with Java' for April-May 2023, including instructions for attempting questions. It consists of five questions, each with compulsory and optional parts covering various topics such as OOP concepts, memory management, exception handling, threading, JDBC, and collections. Each question is designed to assess students' understanding and practical application of Java programming principles.

Uploaded by

amanadil2022
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

102403CS

Roll No………………………..

Course Code: 102403CS


Examination: APRIL-MAY 2023
Course: OBJECT ORIENTED PROGRAMMING WITH JAVA

Time Allowed: 3 Hours Maximum Marks: 100


Minimum Marks: 35
Note: Attempt all questions. Part (A) of each question is
compulsory and carries 4 marks; attempt any two parts from part
(B), (C) and (D) carrying 8 marks each.
Q1 A Briefly describe the use of final keyword. 4
B Explain the concepts of oops with suitable 8
example.
C Explain the memory management by java garbage 8
collector. Also explain finalize ().
D Write a program in Java to read from console, 8
details of 5 employees with following: Name of
employee, Department, Age, Salary. Also Print the
details of every employee.
Q2 A Write the difference between interface and abstract 4
class.
B Write a program to create the User defined 8
exception.

Page 1 of 2
102403CS

C Write a program to demonstrate the effect of access 8


modifiers (default, protected, public and private)
on members with and without inheritance within a
package and outside a package.
D Illustrate the concept of method overloading and 8
method overriding.
Q3 A Briefly describe the thread priority. 4
B Explain wrapper class with suitable example. 8
C Explain the concept of IO in java. 8
D Write a program for creating two threads T1 and 8
T2. The thread T1 should print numbers from 1 to
10 and thread T2 prints characters from A to J.
Ensure that T2 starts first and T1 should only start
when T2 finishes.
Q4 A Briefly describe the Applet life cycle. 4
B Explain 4 types of JDBC driver. 8
C Write two applications in Java using Sockets to 8
communicate with each other using text messages.
D Explain RMI. 8
Q5 A Explain the collection hierarchy. 4
B Write a Java program to demonstrate the use of 8
generics.
C Explain the steps involved in creating and running 8
a JAR file.
D Illustrate the concept of Hash map and Tree map. 8

Page 2 of 2
102403CS

Roll No………………………..

Course Code: 102403CS


Examination: APRIL-MAY 2023
Course: OBJECT ORIENTED PROGRAMMING WITH JAVA

Time Allowed: 3 Hours Maximum Marks: 100


Minimum Marks: 35
Note: Attempt all questions. Part (A) of each question is
compulsory and carries 4 marks; attempt any two parts from part
(B), (C) and (D) carrying 8 marks each.
Q1 A Briefly describe the use of final keyword. 4
B Explain the concepts of oops with suitable 8
example.
C Explain the memory management by java garbage 8
collector. Also explain finalize ().
D Write a program in Java to read from console, 8
details of 5 employees with following: Name of
employee, Department, Age, Salary. Also Print the
details of every employee.
Q2 A Write the difference between interface and abstract 4
class.
B Write a program to create the User defined 8
exception.

Page 1 of 2
102403CS

C Write a program to demonstrate the effect of access 8


modifiers (default, protected, public and private)
on members with and without inheritance within a
package and outside a package.
D Illustrate the concept of method overloading and 8
method overriding.
Q3 A Briefly describe the thread priority. 4
B Explain wrapper class with suitable example. 8
C Explain the concept of IO in java. 8
D Write a program for creating two threads T1 and 8
T2. The thread T1 should print numbers from 1 to
10 and thread T2 prints characters from A to J.
Ensure that T2 starts first and T1 should only start
when T2 finishes.
Q4 A Briefly describe the Applet life cycle. 4
B Explain 4 types of JDBC driver. 8
C Write two applications in Java using Sockets to 8
communicate with each other using text messages.
D Explain RMI. 8
Q5 A Explain the collection hierarchy. 4
B Write a Java program to demonstrate the use of 8
generics.
C Explain the steps involved in creating and running 8
a JAR file.
D Illustrate the concept of Hash map and Tree map. 8

Page 2 of 2

You might also like