You are on page 1of 2

T ENGINEERIN

EN G
M

CO
RN

LLE
GOVE

GE
KONI, BILASPUR, CHHATTISGARH
SESSION : 2022 - 23
DEPARTMENT OF COMPUTER SCIENCE
ENGINEERING
JAVA LAB RECORD

GUIDED BY – SUBMITTED BY –
PROF. SONIA WADHWA NAWAZ MEHMOOD
4th SEM CSE
300702221039
INDEX
S.No. Name of Experiment Date Remarks
1. Write a program in Java to read from console
employee details with following details: Employee
Id, Name of employee, Salary. Print the details of
every employee.
2. Write a program to show the use 'this' keyword to
call the default and parameterized constructors.

3. Create a Shape Interface which has a member


method area(). Derive two subclasses Circle and
Triangle from it. Using reference of Shape class fill
the required members in Circle and Triangle also
display the area of Circle and Triangle. Take input
from user while filling data members.
4. Write a program to demonstrate the effect of
access modifiers (default, protected, public and
private) on members with and without inheritance
within a package and outside a package.
5. Write a program to show inbuilt and user defined:
checked and unchecked exceptions.
6. Write a program to show the use of various
member methods of String class.
7. Develop a Java program to demonstrate the use of
HashSet, Tree Set, Array List, LinkedList classes.
8. Develop a Java program to demonstrate the use of
generics.
9. Create and run an executable JAR.

10. A Java program for a Client side and Server side.

You might also like