You are on page 1of 24

JAVA

Netbeans
Program 1
Q A shop has announced discount for different members as follows:-

 Platinum-20%
 Gold-15%
 Silver-10%

Create java application for same.

1
2
Program 2
Q On action event of button ‘Result’ the application checks the eligibility of the students.
And display result in appropiate text field, minimum percentage for science is 70 , 50 for
commerce and 40 for humanities.

Also on click of clear button all the texfields and the check boxex get cleared. And on click
event of close button application gets closed.

3
4
Program 3
Q Seema is junior programmer at ‘Avon Shoe Factory’. She has created following GUI in
Netbeans.

 3 items namely Shoes , Sandals, and Slippers are manufactured by the factory.
 Each pair of shoes costs more than one item at a time .
 The item bought will be selected by the user and the quantity bought will be entered by the
user.

When ‘Calculated’ button is clicked, the amount should be displayed in front of each item
and Total amount should be displayed in the appropiate textfield.

5
6
Program 4
Q WAP to create student record enter first term and second term marks and two different
streams with different grading criteria.

7
8
Program 5
Q Write code for find button click event procedure. Select particular radio button and
calculate two entered number according to that selection.

9
10
Program 6
Q There is a super store which need an application to generate bill with discoumts for
men, women , kids. With different discount as follows:-

 Men :- 10%
 Women :- 20%
 Kids :- 25%

11
12
Program 7
Q A cloth show room has announced festival discounts on the purchase of items , based on
total cost of the items purchased.

13
14
Program 8
Q Write a Java program to print table of print table of a given number. Display the table in
text area control.

15
16
Program 9
Q The students of school work for different extra curricular activities like Community
Outreach Programme , Swachh Bharat Abhiyan , Traffic Safety Club. The programmer at
school has developed GUI as shown.Write code for following.

 A student can participate in more than one activities.


 Each student get 10 points for each activity.

17
18
Program 10
Q Write a program to add two numbers using class and creating method.

19
Program 11
Q Write a program to connect MySQl and Java and display details of specifies employee

in respective textfields.

20
21
Program 12
Q Write a program to connect MySQL and Java and to show records of table with use of
GUI.

22
23

You might also like