SlideShare a Scribd company logo
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.

More Related Content

What's hot (18)

DOC
Md university cmis 102 week 4 hands on lab new
eyavagal
 
DOC
Md university cmis 102 week 4 hands on lab new
scottbrownnn
 
DOCX
Oop lab assignment 01
Drjilesh
 
DOCX
Cis 355 i lab 6 of 6
solutionjug4
 
DOCX
Cis 355 i lab 6 of 6
helpido9
 
PDF
practice problems on functions IN SWIFT
LOVELY PROFESSIONAL UNIVERSITY
 
DOCX
Experiment 9(exceptions)
ShivamKumar682885
 
PDF
OP 3014 Assignment 02 Please read about the Fibonacci numbers at http:...
hwbloom39
 
DOCX
Comp 220 ilab 6 of 7
ashhadiqbal
 
PPTX
Toy Interpreter
Dhrumil Panchal
 
PDF
Program to be written for C Output: program to compute e. The calculation of...
hwbloom8
 
PPS
C programming session 04
Vivek Singh
 
PDF
Cp manual final
itprasad1237
 
PDF
Please look at the problems I am having which are listed below: Write a prog...
licservernoida
 
PDF
A01
lksoo
 
PDF
A08
lksoo
 
DOC
Programming qns
Dr.Subha Krishna
 
PDF
1 Anne complains that defining functions to use in her programs is a lot of ...
hwbloom59
 
Md university cmis 102 week 4 hands on lab new
eyavagal
 
Md university cmis 102 week 4 hands on lab new
scottbrownnn
 
Oop lab assignment 01
Drjilesh
 
Cis 355 i lab 6 of 6
solutionjug4
 
Cis 355 i lab 6 of 6
helpido9
 
practice problems on functions IN SWIFT
LOVELY PROFESSIONAL UNIVERSITY
 
Experiment 9(exceptions)
ShivamKumar682885
 
OP 3014 Assignment 02 Please read about the Fibonacci numbers at http:...
hwbloom39
 
Comp 220 ilab 6 of 7
ashhadiqbal
 
Toy Interpreter
Dhrumil Panchal
 
Program to be written for C Output: program to compute e. The calculation of...
hwbloom8
 
C programming session 04
Vivek Singh
 
Cp manual final
itprasad1237
 
Please look at the problems I am having which are listed below: Write a prog...
licservernoida
 
A01
lksoo
 
A08
lksoo
 
Programming qns
Dr.Subha Krishna
 
1 Anne complains that defining functions to use in her programs is a lot of ...
hwbloom59
 

Similar to Java programlist (1) (20)

DOC
Java final lab
Vivek Kumar Sinha
 
PDF
66781291 java-lab-manual
Laura Popovici
 
DOC
Report in Java programming and SQL
vikram mahendra
 
DOC
Practical java
nirmit
 
PDF
Lab exam question_paper
Kuntal Bhowmick
 
DOCX
Cis 355 ilab 6 of 6
comp274
 
DOCX
Java List of Programs.docx
i.preet
 
DOCX
Java Practice Set
Gaurav Dixit
 
PDF
Java practical N Scheme Diploma in Computer Engineering
mohamedarif0209
 
DOC
Prg 421 entire course
PRG421
 
DOC
Prg 421 entire course
ACC421
 
DOCX
Chapter 8Exercise1.Design an application that accept.docx
tiffanyd4
 
PPTX
C programming assignment presentation file
santoshkumarhpu
 
DOCX
Lab exam question_paper
Kuntal Bhowmick
 
PDF
Java lab-manual
Khurshid Asghar
 
DOCX
Important C program of Balagurusamy Book
Abir Hossain
 
PDF
Object oriented programming -QuestionBank
Parameshwar Maddela
 
PDF
Session 2 of programming
Ramy F. Radwan
 
DOCX
Java codes
Hussain Sherwani
 
Java final lab
Vivek Kumar Sinha
 
66781291 java-lab-manual
Laura Popovici
 
Report in Java programming and SQL
vikram mahendra
 
Practical java
nirmit
 
Lab exam question_paper
Kuntal Bhowmick
 
Cis 355 ilab 6 of 6
comp274
 
Java List of Programs.docx
i.preet
 
Java Practice Set
Gaurav Dixit
 
Java practical N Scheme Diploma in Computer Engineering
mohamedarif0209
 
Prg 421 entire course
PRG421
 
Prg 421 entire course
ACC421
 
Chapter 8Exercise1.Design an application that accept.docx
tiffanyd4
 
C programming assignment presentation file
santoshkumarhpu
 
Lab exam question_paper
Kuntal Bhowmick
 
Java lab-manual
Khurshid Asghar
 
Important C program of Balagurusamy Book
Abir Hossain
 
Object oriented programming -QuestionBank
Parameshwar Maddela
 
Session 2 of programming
Ramy F. Radwan
 
Java codes
Hussain Sherwani
 
Ad

Recently uploaded (20)

PPTX
The Future of Law.ppptttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
sahatanmay391
 
PPTX
Cover-Letter-Writing-Workshop Slideshow Presentation.pptx
nmorales22
 
PPTX
The Future of Sustainable Cities.ppppptx
sahatanmay391
 
PPTX
intro-to-accounting-week-1.pptxbahshhahz
matthewEmpleo1
 
PDF
corporate training firms in pune.........
a25075044
 
PDF
Formwalaa: Your One-Stop Hub for Exam & Job Application Forms
Reeshna Prajeesh
 
PDF
Mastercard Foundation post.pdf documentation
odameamesika
 
PPTX
Mastering the Cloud with AWS: A Deep Dive into Amazon Web Services
cbitssnavjotdm
 
PPTX
原版英国牛津大学毕业证(Oxon毕业证书)如何办理
Taqyea
 
PDF
Buy Twitter Accounts_ Boost Your Brand and Reach in 2025 - Copy - Copy.pdf
Buy Old Twitter Accounts-100% Secure Aged With Followers
 
PDF
Get Daily Sarkari Job Updates – Majhi Naukri
Reeshna Prajeesh
 
PDF
Sarkari Job Alerts in Marathi & English – Majhi Naukri
Reeshna Prajeesh
 
PDF
hr generalist certification.pdf.........
a25075044
 
PDF
NotificationForTheTeachingPositionsAdvt012025.pdf
sunitsaathi
 
PPTX
CLASSROOM OFFICERS COMPOSITION FOR THE S.Y. 2025-2026
JuffyMastelero
 
PPTX
A Portfolio as a Job Search Tool July 2025
Bruce Bennett
 
PDF
165. Reviewer Certificate in Physical Science
Manu Mitra
 
PDF
Certificate PMP kamel_rodrigue_adda_1879235
kamelard
 
PPTX
GSM GPRS & CDMA.pptxbhhhhhhhhjhhhjjjjjjjj
saianuragk33
 
PDF
Ch7.pdf fghjkloiuytrezgdrsrddfhhvhjgufygfgjhfugyfufutfgyufuygfuygfuytfuytftfy...
SuKosh1
 
The Future of Law.ppptttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
sahatanmay391
 
Cover-Letter-Writing-Workshop Slideshow Presentation.pptx
nmorales22
 
The Future of Sustainable Cities.ppppptx
sahatanmay391
 
intro-to-accounting-week-1.pptxbahshhahz
matthewEmpleo1
 
corporate training firms in pune.........
a25075044
 
Formwalaa: Your One-Stop Hub for Exam & Job Application Forms
Reeshna Prajeesh
 
Mastercard Foundation post.pdf documentation
odameamesika
 
Mastering the Cloud with AWS: A Deep Dive into Amazon Web Services
cbitssnavjotdm
 
原版英国牛津大学毕业证(Oxon毕业证书)如何办理
Taqyea
 
Buy Twitter Accounts_ Boost Your Brand and Reach in 2025 - Copy - Copy.pdf
Buy Old Twitter Accounts-100% Secure Aged With Followers
 
Get Daily Sarkari Job Updates – Majhi Naukri
Reeshna Prajeesh
 
Sarkari Job Alerts in Marathi & English – Majhi Naukri
Reeshna Prajeesh
 
hr generalist certification.pdf.........
a25075044
 
NotificationForTheTeachingPositionsAdvt012025.pdf
sunitsaathi
 
CLASSROOM OFFICERS COMPOSITION FOR THE S.Y. 2025-2026
JuffyMastelero
 
A Portfolio as a Job Search Tool July 2025
Bruce Bennett
 
165. Reviewer Certificate in Physical Science
Manu Mitra
 
Certificate PMP kamel_rodrigue_adda_1879235
kamelard
 
GSM GPRS & CDMA.pptxbhhhhhhhhjhhhjjjjjjjj
saianuragk33
 
Ch7.pdf fghjkloiuytrezgdrsrddfhhvhjgufygfgjhfugyfufutfgyufuygfuygfuytfuytftfy...
SuKosh1
 
Ad

Java programlist (1)

  • 1. 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.
  • 2. 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.