0% found this document useful (0 votes)
1 views5 pages

BCA Java Lab Assignment for Student (1)

The document outlines a lab assignment record for an Object Oriented Programming course using Java at TMU, Moradabad, covering the period from August 2025 to December 2025. It includes three assignments with a total of 30 programming tasks focused on various Java concepts such as constructors, inheritance, exception handling, GUI development, and database connectivity. Each assignment lists specific programming tasks that students are required to complete.

Uploaded by

kumarjainsachin7
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)
1 views5 pages

BCA Java Lab Assignment for Student (1)

The document outlines a lab assignment record for an Object Oriented Programming course using Java at TMU, Moradabad, covering the period from August 2025 to December 2025. It includes three assignments with a total of 30 programming tasks focused on various Java concepts such as constructors, inheritance, exception handling, GUI development, and database connectivity. Each assignment lists specific programming tasks that students are required to complete.

Uploaded by

kumarjainsachin7
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/ 5

LAB ASSIGNMENT RECORD

On

BCAMJ23551
Object Oriented Programming Concepts
Using Java Lab

COLLEGE OF COMPUTING SCIENCES AND INFORMATION TECHNOLOGY


TMU, MORADABAD

Aug 2025– Dec 2025

Submitted To: Submitted By:


Harjinder Singh Student Name:
Asst. Professor Course:
Semester/Section:
Enroll. No.:
Assignment-No. 1
S.NO PROGRAM NAME PAGE DATE SIGN REMARK
NO

1 Write a program to print Hello JAVA.


2 Write a program to print whatever value is given by user
using command line arguments.
3 Write a program print the sum of two numbers given by
user using command line argument.
4 Write a program print the sum of two numbers given by
user using Scanner Class.
5 Write a program in java for the following pattern
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
6 Write a program in java to input a number and check
whether it is a Prime Number or not.
7 Write a program in java to search an element in the
given 10 elements.

8 Write a program in java which contains 10 elements


and sort it in ascending order.

9 Write a program that will illustrate the concept of default


constructor.
10 Write a program that will illustrate the concept of
parameterized constructor and object parameterized
constructor.
11 Write a program to illustrate the concept of this keyword.
12 Write a program to demonstrate static and instance data
members and methods.
13 Write a Java program to implement the concept of
importing classes from user defined package and creating
packages
14 Write a program which illustrates the concept of
inheritance.
15 Write a program to demonstrate the concept of method
overloading and overriding.
16 Write a Java Program to demonstrate use of nested
class.
17 Write a program which illustrates the concept of super
keyword at variable and method level.
18 Write a program which will calculate the sum of two
integer and two floats values using an abstract method
sum()
19 Write a program to demonstrate use of implementing
and extends interfaces.
20 Write program to demonstrate use of final keyword.
Assignment-No. 2
S.NO PROGRAM NAME PAGE DATE SIGN REMARK
NO

1 Write a program to implement the concept of


Exception Handling using predefined
Exception.
2 Write a program to implement the concept of
Exception Handling using throw keyword.
3 Write a program to write a string in a text file using IO
package.
4 Write a program to draw different shapes in an applet
using graphic class.
5 Write a program using Applet to display a message in
the Applet.
6 Write a java program which will create a window and
an empty area within that window (extends Frame
class)
7 Write a Java Program to demonstrate Keyboard event
8 Write a Java Program to demonstrate Mouse event.
9 WAP to enter two numbers in two different text
boxes. Add a button on the Applet. The program
should print the sum of the two numbers of the
Applet window.
Assignment-No. 3
S.NO PROGRAM NAME PAGE DATE SIGN REMARK
NO

1 Write a program to print text into Text Area using JText


Area
2 Create this frame Using JFrame

3 Write a program to display selected item from JCombo


box in a label on click of Show button.
4 Create a swing application to display a menu bar where
each menu item should display a dialog box to show its
working.
5 Create this frame message will show according to radio
button clicked.

6 Create this food ordering System.


7 Write a program to implement the concept of
threading by extending Thread Class
8 Write a program to implement the concept of
threading by implementing Runnable Interface
9 Write a Java program that connects to a database
using JDBC
10. WAP to enter the details of an employee in a window. The
window should display a button which when clicked, adds
the employee record in the database (My-SQL).

You might also like