0% found this document useful (0 votes)
2 views1 page

Java Lab Important Questions

The document lists important questions for a Java practical exam, divided into two parts. Part A includes programs for calculating factorials, displaying prime numbers, and sorting elements with exception handling. Part B focuses on constructor overloading, creating a student report using applets, and calculating bonuses through method overriding.

Uploaded by

varshraju07
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)
2 views1 page

Java Lab Important Questions

The document lists important questions for a Java practical exam, divided into two parts. Part A includes programs for calculating factorials, displaying prime numbers, and sorting elements with exception handling. Part B focuses on constructor overloading, creating a student report using applets, and calculating bonuses through method overriding.

Uploaded by

varshraju07
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

Java_lab important questions for practical exam

Part A
1)Write a program to find factorial of list of number reading input as command line
argument.

2)Write a program to display all prime numbers between two limits.

3) Write a program to sort list of elements in ascending and descending order and show the
exception handling.

Part B
1)Write a program to implement constructor overloading by passing different number of
parameter of different types.

2) Write a program to create student report using applet, read the input using text boxes and
display the o/p using buttons.

3) Write a program to calculate bonus for different departments using method overriding

You might also like