II Lab Cycle

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

JAVA II-Lab Cycle

1. 2. 3. 4. 5. 6. 7. Write a program to find difference between two dates. Write a program to insert the elements in a hash table and display it. Implement Stack Operation. Write a program for Linked List Processing. Write an applet to display current date and time. Write an applet for growing text and images. Write an applet program by using SetBackground and SetForeground method to randomly change the colors of an applet. 8. Develop an applet that receive 3 numeric values as i/p from the user and then display the largest of 3 on the screen. 9. Write an applet program to simulate the human face. 10.Write an applet program to draw national flag with color. 11.Write an applet program to display the small rounded rectangles in a specified area using clipping concept. 12.Create an applet to draw the following shapes. i) Cone ii) Cylinder iii) Cube iv) Square inside a circle v) Circle inside a square 13.Write a program using RMI concept and also create stub and Skeleton. 14.Write a program to create and read a package. 15.Write a program to handle multiple events using Applet. 16. Write a program to find area of circle and square using interface.

FILES 1. Write a program to check whether the file is readable, writable & hidden. 2. Counting no. of characters, words, vowels, lines & spaces in a file. 3. To print the details of alternative products stored in a Random Access File. Input are no. of product code, No. of item available & product details. Compute & print total value of 5 products. Perform Add, Delete and Modify the products. 4. Create a random access file stream for file emp.dat for updating the employee information in file. 5. Write a java program to accept two parameters on the command line. If there are no command line arguments entered, the program should print the error message and exit. The program should check whether the file exist and if it is an ordinary file. If it is so then the content is copied to the second file. THREAD 1. Write a program to display current date band time. 2. Write a Program for i) Print name, priority & thread group of thread. ii) Change the name of current thread to JAVA. iii) Display the details of current thread. iv) How can you specify delay time in your program. 3. Develop a simple real life application program to illustrate the use of multi threads.

You might also like