JAVA PROGRAM LIST
Lab 1
1. Input a number from user and check if palindrome is possible by
shuffling digits of the number print yes or No as output.
2. Input two numbers from user loweLimit and upperLimit and print
numbers within the range that have digits in strict increasing order.
3. Generate three random numbers up to 100 and print the largest of them.
4. Generate a random number up to 100 and print whether it is prime or
not.
5. Write a program to generate first 10 terms of Fibonacci series.
Lab 2
6. Find the factorial of a given number using Recursion.
7. Find the average and sum of array of N numbers entered by user.
8. Create a class to find out the Area and perimeter of rectangle.
9. Write a class that perform String operations(Equal,Reverse the
string,change case).
10. Given an integer array, find the number of decreasing sequences in the
array and the length of its longest decreasing sequence.
11. Write a program for sorting integer array using selection sort.
12. Demonstrate the use of final keyword with data member, function and
class.
Lab 3
13. Demonstrate the use of keywords try, catch, finally, throw and throws.
14. Write a program to demonstrate Multi-threading using Thread Class.
15. Write a program to demonstrate Multi-threading using Runnable
Interface.
16. Write a program to demonstrate use of synchronized method over multi-
threading.
Lab 4
17. Write a program to basic calculator using Applet and Event Handling.
18. Write a program to input a number from user and determine the number
of digits and print all numbers unto the number entered by user(having digits
in strict increasing order) having same number or digits. Example if user
enters 125 the only answer is 123, 124.
Lab 5
19. Write a application similar to Notepad having features like open, save, copy,
cut, paste.
20. Write a program to count number of words,characters, vowels in a text
file.
JAVA PROGRAM LIST
Lab 6
21. Write a program to create simple chat application using TCP based Socket
Programming.
22. Write a program to connect to access database and display contents of
the table.

Java programlist (1)

  • 1.
    JAVA PROGRAM LIST Lab1 1. Input a number from user and check if palindrome is possible by shuffling digits of the number print yes or No as output. 2. Input two numbers from user loweLimit and upperLimit and print numbers within the range that have digits in strict increasing order. 3. Generate three random numbers up to 100 and print the largest of them. 4. Generate a random number up to 100 and print whether it is prime or not. 5. Write a program to generate first 10 terms of Fibonacci series. Lab 2 6. Find the factorial of a given number using Recursion. 7. Find the average and sum of array of N numbers entered by user. 8. Create a class to find out the Area and perimeter of rectangle. 9. Write a class that perform String operations(Equal,Reverse the string,change case). 10. Given an integer array, find the number of decreasing sequences in the array and the length of its longest decreasing sequence. 11. Write a program for sorting integer array using selection sort. 12. Demonstrate the use of final keyword with data member, function and class. Lab 3 13. Demonstrate the use of keywords try, catch, finally, throw and throws. 14. Write a program to demonstrate Multi-threading using Thread Class. 15. Write a program to demonstrate Multi-threading using Runnable Interface. 16. Write a program to demonstrate use of synchronized method over multi- threading. Lab 4 17. Write a program to basic calculator using Applet and Event Handling. 18. Write a program to input a number from user and determine the number of digits and print all numbers unto the number entered by user(having digits in strict increasing order) having same number or digits. Example if user enters 125 the only answer is 123, 124. Lab 5 19. Write a application similar to Notepad having features like open, save, copy, cut, paste. 20. Write a program to count number of words,characters, vowels in a text file.
  • 2.
    JAVA PROGRAM LIST Lab6 21. Write a program to create simple chat application using TCP based Socket Programming. 22. Write a program to connect to access database and display contents of the table.