Attachment 1 76
Attachment 1 76
UNIT-I
THE JAVA LANGUAGE & INTRODUCTION OF OOP
1 a) Give the definition and syntax of Class, Method and Object? [L1][CO2] [6M]
b) Create a java program to display “Hello! Java” using Class, Object [L6][CO2] [6M]
and Method.
2 a) Define Constructor? Classify the types of Constructors in Java? [L4][CO2] [7M]
b) Write a java program to illustrate Constructor Overloading. [L6][CO2] [5M]
3 a) Illustrate Garbage Collector in Java and explain the its behavior [L3][CO2] [6M]
when used.
b) Differentiate between the usage of static, final keywords with [L4][CO2] [6M]
Example.
4 a) Show the application of final keyword with variable, method and class [L1][CO2] [9M]
in detail with an example.
b) Give the difference between final and finalize. [L4][CO2] [3M]
5 What is Inheritance? Explain types of inheritances. [L2][CO2] [12M]
6 Create and explain java program for the implementation of single, [L6][CO2] [12M]
Multi-level and hierarchical inheritance.
7 a) Describe about the super keyword in java with example. [L2][CO2] [6M]
b) Give the differences between Abstract class and Interface [L4][CO2] [6M]
8 a) Distinguish Method Overriding and Method Overloading. [L5][CO2] [6M]
b) What is an abstract class? Discuss the cases to implement abstract [L2][CO2] [6M]
Class.
9 a) Recall what is package? Explain how to create user defined package [L2][CO2] [6M]
in java with example program
b) Write a java program to find the factorial value of the [L6][CO2] [6M]
given number using user defined package concept.
10 a) State what is an interface and the rules to create an interface in java [L1][CO2] [6M]
with example program
b) Develop a java program to implement an interface using your own [L6][CO2] [6M]
example program
Course Code: 20CS0506 R20
UNIT-III
EXCEPTION HANDLING & MULTITHREADED
PROGRAMMING
1 Develop a java Program to design Simple Registration page window [L6][CO5] [12M]
using AWT Controls.
2 Apply an AWT based calculator with basic operations using java. [L3][CO5] [12M]
3 a) State the features of swing in java. [L1][CO5] [4M]
b) Difference between AWT and SWING? [L4][CO5] [8M]
4 Illustrate the steps for creating simple Login Page using java swing with [L3][CO5] [12M]
an example program.
5 What is Swing? Discuss about Swing controls. [L2][CO5] [12M]
6 a) State the importance of Lambda Expression with syntax [L1][CO5] [6M]
b) Develop a java program to pass multiple parameters with Lambda [L6][CO5] [6M]
Expression
7 List and Explain Java Method References with an example. [L2][CO5] [12M]
8 Explain the following methods in java. [L2][CO5] [12M]
a) Default method
b) Static method
c) forEach()method
9 a) Illustrate with an example to explain the similarities for method reference [L3][CO5] [6M]
operator and Lambda Expression
b) Describe Reference to an instance method of an arbitrary object of a [L2][CO5] [6M]
particular type
10 a) Interpret the usage of Date and Time API with an example program. [L3][CO6] [8M]
b) Discuss in detail the operations on Streams. [L2][CO6] [4M]
Prepared by