0% found this document useful (0 votes)
10 views

Index

The document provides a list of 17 programming assignments for a Java programming language practical course. The assignments include programs to capitalize words in a sentence, display employee details in a formatted table, allow changing the case of strings, simulate bank accounts, use interfaces and inheritance, demonstrate packages, handle command line arguments with exceptions, demonstrate throw and throws keywords, create a custom exception, replace matching characters in strings, demonstrate thread priorities, perform basic math operations in an applet, demonstrate linked list operations with a switch case, demonstrate thread synchronization, create objects from an applet parameter, demonstrate sunset in an applet, and draw objects in different colors from an applet parameter.
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)
10 views

Index

The document provides a list of 17 programming assignments for a Java programming language practical course. The assignments include programs to capitalize words in a sentence, display employee details in a formatted table, allow changing the case of strings, simulate bank accounts, use interfaces and inheritance, demonstrate packages, handle command line arguments with exceptions, demonstrate throw and throws keywords, create a custom exception, replace matching characters in strings, demonstrate thread priorities, perform basic math operations in an applet, demonstrate linked list operations with a switch case, demonstrate thread synchronization, create objects from an applet parameter, demonstrate sunset in an applet, and draw objects in different colors from an applet parameter.
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/ 1

Rooll No.

:________
Name:
Subject: 403: JAVA PROGRAMMING LANGUAGE (PRACTICAL ASSIGNMENT)

Class:_SYBCA Div.:________ Seem.: 4

Index
Sr. Description Page no Sign
No.
1 Write a Java program to capitalize the first letter of each word in a sentence.

2 Write a program to input Employee Details and display it on proper format.


(Employee id, Employee name, Salary, Department)

3 Write a java Program that Accepts String Data from User and then Provide
options for Changing case into any of the Following. (UPPPERCASE,
lowercase, Sentence case ,Toggle CASE
4 Write a program which design Bank Account class as Saving and Current
Account and manage information accordingly.
5 Write a program that creates two interfaces 1. Direction 2. Drive Car. And
creates two classes 1. DirectionBoard 2. Car which inherits above interfaces

6 Write a program which demonstrate functionality of creation and use of


package.
7 Write a program to accept 5 command line argument and then raise the
custom exception if any argument is not from the list
(“BCA”,”MCA”,”BBA”,”MBA”,”OTHER”).
8 Write a program to demonstrate throw and throws keyword.

9 Write a program to demonstrate custom exception called


NegativeNumberArgument Exception
10 Write a program to input two strings search similar characters from both
string and replace it with ‘*’ .
11 Write a program to demonstrate thread priorities.
12 Write a program add/sub/mul/div of 2 numbers in Applet. Accept value in 2
textboxes & create button name “+”,”-“,”/”,”*”,
“+”,” when you click them, it will
give result in third box.
13 Writer a program to demonstrate general operations of singly link list using
switch case
14 Write a program to demonstrate thread synchronization.
15 Accept N number from applet tag and print that many numbers of object
using an Applet.
16 Write a program which demonstrate sunset using an Applet.
17 Accept number from applet tag parameter and draw that many numbers of
objects. Fill them with different color

You might also like