Lab 1
- Input two numbers from User and print their sum.
- Input a number from user and check if palindrome is possible by shuffling digits of the number print yes or No as output.
- Input two numbers from user loweLimit and upperLimit and print numbers within the range that have digits in strict increasing order.
- Generate three random numbers up to 100 and print the largest of them.
- Generate a random number up to 100 and print whether it is prime or not.
- Write a program to generate first 10 terms of Fibonacci series.
- Create java application for Lucky 7 Game.
Lab 2
- Create a class to find out the Area and perimeter of rectangle.
- Write a java program to produce the tokens from given long string.
- Write a java program to implement stack and queue concept.
- Write a java package to show dynamic polymorphism and interfaces.
- Given an integer array, find the number of decreasing sequences in the array and the length of its longest decreasing sequence.
- Write a program for sorting integer array using selection sort.
- Demonstrate the use of final keyword with data member, function and class.
Lab 3
- Demonstrate the use of keywords try, catch, finally, throw and throws.
- Write a program to demonstrate Multi-threading using Thread Class.
- Write a program to demonstrate Multi-threading using Runnable Interface.
- Write a program to demonstrate use of synchronized block over multi-threading.
- Write a program to demonstrate use of synchronized method over multi-threading.
- Write a program to demonstrate static synchronization over multi-threading.
- Write a program to create game "Tic Tac Toe".
Lab 4
- Create graphical Lucky 7 Game using java.awt package components and Event Handling.
- Create "Tic Tac Toe" game using java.awt package components and Event Handling.
- 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
- Write a program to read a text file and after printing that on scree write the content to another text file.
- Write a program to count number of words,characters, vowels in a text file.
- Write a program to create simple chat application using TCP based Socket Programming.
- Write a program to create simple chat application using UDP based Socket Programming.
- Write a program to connect to access database and display contents of the table.
- Develop an analog clock using applet.
- Develop a scientific calculator using swings.
- Create an editor like MS-word using swings.
- Create a servlet that uses Cookies to store the number of times a user has visited your servlet.
- Create a simple java bean having bound and constrained properties.
No comments:
Post a Comment