Information Technology Department
Semester:3 Academic Year :2025-26
Oops through Java Lab External Programs
1) a) Implement the following programs using command line arguments and Scanner class
i) Accept two strings from the user and print it on console with concatenation of “and”
in the middle of the strings.
ii) To find the perimeter and area of a circle given a value of radius.
b) Write a program using classes and objects in Java?
2.a) Write a program on Constructor overloading in java?
b) Write a program on Method overloading in java?
3.a) Write a program on Final keyword in variable level,method level,class level in java ?
b) Write a program on method overriding in java?
4.a) Write a program on Abstract class program?
b) Write a program on packages(create a package and import a package)?
5a) Write a program on single inheritance?
b) Write a program on interface in java?
6.a) Write a program on hierarchical inheritance in java ?
b) Write a program on multi-level inheritance in java?
7.a) Write a program on super keyword in variable level, method level?
b) Write a program on array list?
8. Write a program on synchronization in java?
b) Write a program on Exception handling program in java?
9 a) Write a program that reads two numbers from the user to perform integer division into Num1
and Num2 variables. The division of Num1 and Num2 is displayed if they are integers. If
Num1 or Num2 were not an integer, the program would throw a Number Format Exception. If Num2
were Zero, the program would throw an Arithmetic Exception.
b) Create a user defined exception
10.a) create a thread using extends keyword and implements keyword
b) Write a program on inter thread communication in java
11.a) Write a program on registration form using swings?
b) Write a program on gridbag layout program using swings ?
12. a) Write a program for handling button events using ActionEventListener
b) Write a program for handling mouse events using MouseEventListener