0% found this document useful (0 votes)
4 views2 pages

Final Index

The document is a practical file for a course on Object-Oriented Programming (OOP) using Java, detailing a series of programming exercises. It includes tasks such as printing 'Hello World', computing areas of shapes, implementing classes and inheritance, and demonstrating exception handling and threading. Each exercise is listed with a corresponding date for completion.

Uploaded by

study22001
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)
4 views2 pages

Final Index

The document is a practical file for a course on Object-Oriented Programming (OOP) using Java, detailing a series of programming exercises. It includes tasks such as printing 'Hello World', computing areas of shapes, implementing classes and inheritance, and demonstrating exception handling and threading. Each exercise is listed with a corresponding date for completion.

Uploaded by

study22001
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
You are on page 1/ 2

MAHARAJA SURAJMAL INSTITUTE

OOPs Using Java


PRACTICAL FILE
SUBJECT CODE – BCA 104P
INDEX

S.No. Practical Date Sign

1. Write a program to print Hello world. 23/01/25


2. Write a program to compute the area of a circle. 23/01/25
3. Write a program based on type casting & 24/01/25
conversions.
4. Write a program to add, subtract, divide and 24/01/25
multiple 2 numbers.
5. Write a program to print the grade of a student. 06/02/25
6. Write a program to initialize and print the elements 06/02/25
of an array.
7. Write a program to sort an array in ascending and 07/02/25
descending order.
8. Write a program to create a class called Use Static 07/02/25
and declare some static variables, a static method
that will print those variables and static block
which will perform some operation on that
variable.
9. Write a program to create a class Add that will add 07/02/25
two numbers by using a default constructor.
10. Write a program to create a class called triangle 08/02/25
with base and height as the attributes and
calculate its area using parameterized constructor.
11. Write a program to create a class called Rectangle 08/02/25
and calculate its area using this keyword.
12. Write a program to insert an element in array and 08/02/25
print those elements using command line
arguments.
13. Write a program to create a class Area and 11/02/25
calculate area of rectangle and circle using method
overloading.
14. Write a program to create a class called 11/02/25
StringDemo and declare three strings and use
functions like length, charAt and equals on them.
15. Write a program to create a class called Box with 11/02/25
instance variables width, height and depth. Create
another class Box Weight which inherits class Box
with an additional instance variable weight.
Compute the volume of the box using inheritance.
16. Implement the above program using super 13/02/25
keyword.

17. Create a class Figure and its 2 subclasses Rectangle 13/02/25


and Triangle and calculate its area using method
overloading.
18. Implement the above program using abstract 13/02/25
classes by making Figure class abstract.
19. Write relevant programs to show the usage of final 18/02/25
keyword with class, variables and methods in java.
20. Write relevant programs showing the usage of 22/02/25
package and access protection in java.
21. Write relevant programs to show the concept of 06/03/25
importing a package.
22. Write a program to implementing nesting of 07/03/25
interface.
23. Write relevant programs to show the usage of try, 17/03/25
catch, throw, throws and finally in java.
24. Write a program to Handle the user defined 21/03/25
Exception using throw keyword.
25. Write a program to create user-defined exception 29/03/25
class using the extends keyword.
26. Write relevant programs to show the concept of 04/04/25
creating Thread through thread class and runnable
interface.
27. Write a program to execute thread on priority 24/04/25
basis.

You might also like