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.
Ad

More Related Content

What's hot (18)

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

Similar to Java programlist (1) (20)

Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docxLab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
ABDULAHAD507571
 
Lab exam question_paper
Lab exam question_paperLab exam question_paper
Lab exam question_paper
Kuntal Bhowmick
 
C programming assignment presentation file
C programming assignment presentation fileC programming assignment presentation file
C programming assignment presentation file
santoshkumarhpu
 
Practical java
Practical javaPractical java
Practical java
nirmit
 
Lab exp declaring arrays)
Lab exp declaring arrays)Lab exp declaring arrays)
Lab exp declaring arrays)
Daman Toor
 
Develop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdfDevelop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdf
leventhalbrad49439
 
Python assignment 4
Python assignment 4Python assignment 4
Python assignment 4
ANILBIKAS
 
Cse cpl manual-2016
Cse cpl manual-2016Cse cpl manual-2016
Cse cpl manual-2016
Rajendra khatana
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
Thejeswara Reddy
 
C++ Lab Maual.pdf
C++ Lab Maual.pdfC++ Lab Maual.pdf
C++ Lab Maual.pdf
ShivamParjapati2
 
C_Lab Manual_Part A.docx
C_Lab Manual_Part A.docxC_Lab Manual_Part A.docx
C_Lab Manual_Part A.docx
Pandiya Rajan
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6
comp274
 
Looping in PythonLab8 lecture slides.pptx
Looping in PythonLab8 lecture slides.pptxLooping in PythonLab8 lecture slides.pptx
Looping in PythonLab8 lecture slides.pptx
adihartanto7
 
Introduction-to-Iteration (2).pptx
Introduction-to-Iteration (2).pptxIntroduction-to-Iteration (2).pptx
Introduction-to-Iteration (2).pptx
KeshavBandil2
 
best notes in c language
best notes in c languagebest notes in c language
best notes in c language
India
 
Simple c-programs
Simple c-programsSimple c-programs
Simple c-programs
rashmi322
 
Best c programs
Best c programsBest c programs
Best c programs
AbhishekSharma471920
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
comp274
 
Problem solving python programming qp
Problem solving python programming qpProblem solving python programming qp
Problem solving python programming qp
Dharmaraj Prof and Head CSE Coimbatore
 
Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6
helpido9
 
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docxLab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
ABDULAHAD507571
 
C programming assignment presentation file
C programming assignment presentation fileC programming assignment presentation file
C programming assignment presentation file
santoshkumarhpu
 
Practical java
Practical javaPractical java
Practical java
nirmit
 
Lab exp declaring arrays)
Lab exp declaring arrays)Lab exp declaring arrays)
Lab exp declaring arrays)
Daman Toor
 
Develop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdfDevelop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdf
leventhalbrad49439
 
Python assignment 4
Python assignment 4Python assignment 4
Python assignment 4
ANILBIKAS
 
C_Lab Manual_Part A.docx
C_Lab Manual_Part A.docxC_Lab Manual_Part A.docx
C_Lab Manual_Part A.docx
Pandiya Rajan
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6
comp274
 
Looping in PythonLab8 lecture slides.pptx
Looping in PythonLab8 lecture slides.pptxLooping in PythonLab8 lecture slides.pptx
Looping in PythonLab8 lecture slides.pptx
adihartanto7
 
Introduction-to-Iteration (2).pptx
Introduction-to-Iteration (2).pptxIntroduction-to-Iteration (2).pptx
Introduction-to-Iteration (2).pptx
KeshavBandil2
 
best notes in c language
best notes in c languagebest notes in c language
best notes in c language
India
 
Simple c-programs
Simple c-programsSimple c-programs
Simple c-programs
rashmi322
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
comp274
 
Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6Cis 355 i lab 2 of 6
Cis 355 i lab 2 of 6
helpido9
 
Ad

Recently uploaded (20)

REAL ILLUMINATI UGANDA CALL WhatsApp number0782561496/0756664682
REAL ILLUMINATI UGANDA CALL WhatsApp number0782561496/0756664682REAL ILLUMINATI UGANDA CALL WhatsApp number0782561496/0756664682
REAL ILLUMINATI UGANDA CALL WhatsApp number0782561496/0756664682
way to join real illuminati Agent In Kampala Call/WhatsApp+256782561496/0756664682
 
Human.pptx and the life of humans in this world
Human.pptx and the life of humans in this worldHuman.pptx and the life of humans in this world
Human.pptx and the life of humans in this world
khadoshah18
 
1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf
1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf
1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf
govindbell
 
Expository data analysis aand visualization-1.pdf
Expository data analysis aand visualization-1.pdfExpository data analysis aand visualization-1.pdf
Expository data analysis aand visualization-1.pdf
PrinceUzair4
 
Slideshow about color communication in groups.pptx
Slideshow about color communication in groups.pptxSlideshow about color communication in groups.pptx
Slideshow about color communication in groups.pptx
joyghassan2001
 
rajatseydurzruzurzuursruusuduminarppt.pptx
rajatseydurzruzurzuursruusuduminarppt.pptxrajatseydurzruzurzuursruusuduminarppt.pptx
rajatseydurzruzurzuursruusuduminarppt.pptx
YashGaur66
 
LEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdf
LEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdfLEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdf
LEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdf
paulallieukamara31
 
What To Expect When Partnering With A Retained Executive Search Firm?
What To Expect When Partnering With A Retained Executive Search Firm?What To Expect When Partnering With A Retained Executive Search Firm?
What To Expect When Partnering With A Retained Executive Search Firm?
WalkWater Talent Advisors Pvt. Ltd.
 
GROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwd
GROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwdGROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwd
GROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwd
andresjohnjohn99
 
Productivity starts in our mind - Dev productivity meetup
Productivity starts in our mind - Dev productivity meetupProductivity starts in our mind - Dev productivity meetup
Productivity starts in our mind - Dev productivity meetup
Grzegorz Miejski
 
Power BI Jobs in Jaipur – Top Career Options in Data Analytics.pptx
Power BI Jobs in Jaipur – Top Career Options in Data Analytics.pptxPower BI Jobs in Jaipur – Top Career Options in Data Analytics.pptx
Power BI Jobs in Jaipur – Top Career Options in Data Analytics.pptx
vinay salarite
 
电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买
电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买
电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买
Taqyea
 
NTS - Boost Your Job Search by Volunteering
NTS - Boost Your Job Search by VolunteeringNTS - Boost Your Job Search by Volunteering
NTS - Boost Your Job Search by Volunteering
Bruce Bennett
 
Social Entrepreneurship (1) powerpoint.pptx
Social Entrepreneurship (1) powerpoint.pptxSocial Entrepreneurship (1) powerpoint.pptx
Social Entrepreneurship (1) powerpoint.pptx
kumaresan61999
 
Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...
Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...
Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...
SOFTTECHHUB
 
HIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.ppt
HIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.pptHIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.ppt
HIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.ppt
KerollosGeorge2
 
technical seminar Tharun.pptm.pptx by vtu students
technical seminar Tharun.pptm.pptx by vtu studentstechnical seminar Tharun.pptm.pptx by vtu students
technical seminar Tharun.pptm.pptx by vtu students
madhushreer21
 
Certification SAFe 6 PO-PM Adrien Bonato.pdf
Certification SAFe 6 PO-PM Adrien Bonato.pdfCertification SAFe 6 PO-PM Adrien Bonato.pdf
Certification SAFe 6 PO-PM Adrien Bonato.pdf
Adrien Bonato
 
BANKING AND SCOPE1 thghghvndvnggfdhjg.pdf
BANKING AND SCOPE1 thghghvndvnggfdhjg.pdfBANKING AND SCOPE1 thghghvndvnggfdhjg.pdf
BANKING AND SCOPE1 thghghvndvnggfdhjg.pdf
mknaveenmk365
 
Report of Manish Malhotra and shamim ahmed .pptx
Report of Manish Malhotra and shamim ahmed .pptxReport of Manish Malhotra and shamim ahmed .pptx
Report of Manish Malhotra and shamim ahmed .pptx
AmitMalik746546
 
Human.pptx and the life of humans in this world
Human.pptx and the life of humans in this worldHuman.pptx and the life of humans in this world
Human.pptx and the life of humans in this world
khadoshah18
 
1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf
1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf
1Z0-771 - Oracle APEX Cloud Developer Professional (DUMPS).pdf
govindbell
 
Expository data analysis aand visualization-1.pdf
Expository data analysis aand visualization-1.pdfExpository data analysis aand visualization-1.pdf
Expository data analysis aand visualization-1.pdf
PrinceUzair4
 
Slideshow about color communication in groups.pptx
Slideshow about color communication in groups.pptxSlideshow about color communication in groups.pptx
Slideshow about color communication in groups.pptx
joyghassan2001
 
rajatseydurzruzurzuursruusuduminarppt.pptx
rajatseydurzruzurzuursruusuduminarppt.pptxrajatseydurzruzurzuursruusuduminarppt.pptx
rajatseydurzruzurzuursruusuduminarppt.pptx
YashGaur66
 
LEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdf
LEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdfLEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdf
LEADERSHIP, MENTORSHIP AND CAREER DEVELOPMENT TRAINING MANUAL PAUL.pdf
paulallieukamara31
 
What To Expect When Partnering With A Retained Executive Search Firm?
What To Expect When Partnering With A Retained Executive Search Firm?What To Expect When Partnering With A Retained Executive Search Firm?
What To Expect When Partnering With A Retained Executive Search Firm?
WalkWater Talent Advisors Pvt. Ltd.
 
GROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwd
GROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwdGROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwd
GROUP 1 NAV.pptxhwjwhshwuwhhwhsjssjwjjwd
andresjohnjohn99
 
Productivity starts in our mind - Dev productivity meetup
Productivity starts in our mind - Dev productivity meetupProductivity starts in our mind - Dev productivity meetup
Productivity starts in our mind - Dev productivity meetup
Grzegorz Miejski
 
Power BI Jobs in Jaipur – Top Career Options in Data Analytics.pptx
Power BI Jobs in Jaipur – Top Career Options in Data Analytics.pptxPower BI Jobs in Jaipur – Top Career Options in Data Analytics.pptx
Power BI Jobs in Jaipur – Top Career Options in Data Analytics.pptx
vinay salarite
 
电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买
电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买
电子版成绩单英国UofG文凭格拉斯哥大学学生证学历认证范本购买
Taqyea
 
NTS - Boost Your Job Search by Volunteering
NTS - Boost Your Job Search by VolunteeringNTS - Boost Your Job Search by Volunteering
NTS - Boost Your Job Search by Volunteering
Bruce Bennett
 
Social Entrepreneurship (1) powerpoint.pptx
Social Entrepreneurship (1) powerpoint.pptxSocial Entrepreneurship (1) powerpoint.pptx
Social Entrepreneurship (1) powerpoint.pptx
kumaresan61999
 
Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...
Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...
Google’s 76-Page Whitepaper Delves Deep into Agentic RAG, Assessment Framewor...
SOFTTECHHUB
 
HIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.ppt
HIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.pptHIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.ppt
HIL-3960_-_MAKE_IT_RIGHT_Workshop_Presentation_English_5-14.ppt
KerollosGeorge2
 
technical seminar Tharun.pptm.pptx by vtu students
technical seminar Tharun.pptm.pptx by vtu studentstechnical seminar Tharun.pptm.pptx by vtu students
technical seminar Tharun.pptm.pptx by vtu students
madhushreer21
 
Certification SAFe 6 PO-PM Adrien Bonato.pdf
Certification SAFe 6 PO-PM Adrien Bonato.pdfCertification SAFe 6 PO-PM Adrien Bonato.pdf
Certification SAFe 6 PO-PM Adrien Bonato.pdf
Adrien Bonato
 
BANKING AND SCOPE1 thghghvndvnggfdhjg.pdf
BANKING AND SCOPE1 thghghvndvnggfdhjg.pdfBANKING AND SCOPE1 thghghvndvnggfdhjg.pdf
BANKING AND SCOPE1 thghghvndvnggfdhjg.pdf
mknaveenmk365
 
Report of Manish Malhotra and shamim ahmed .pptx
Report of Manish Malhotra and shamim ahmed .pptxReport of Manish Malhotra and shamim ahmed .pptx
Report of Manish Malhotra and shamim ahmed .pptx
AmitMalik746546
 
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.
  翻译: