Practical Java Programs - 24
Practical Java Programs - 24
1. Write a Java program to copy the content of one file into another.
2. Write a java applet to display the following output in Red color. Refer Fig. No. 1.
3. Write a java program to sort an 1-d array in ascending order using bubble-sort.
4. Write a Java program in which thread A will display the even numbers between 1 to
50 and thread B will display the odd numbers between 1 to 50. After 3 iterations
thread A should go to sleep for 500ms.
5. Write a Java program for parameterized constructor with suitable example.
6. Write a Java Program to count the number of words from a text file using stream
classes.
7. Write a Java applet to draw a bar chart for the following values.