20-10-2016, 12:07 PM
1460123761-JavaPrograms1.docx (Size: 111.04 KB / Downloads: 9)
1. Write a Program to determine the sum of the following harmonic series for a given value of ‘n’ from user. 1+1/2+1/3+……..+1/n
2. Write a Java application to check/compare contents of two files, and display appropriate message
3. Write a program to read the price of an item in decimal from user(like 75.95) and print the output in paise
4. Create an applet for digital clock
5. 1.Write a program to convert the given temperature in Fahrenheit to Celsius using the following conversion
6. formula. C = (f - 32)/1.8
7. 2. Create an applet for moving banner
8. Write a program to find the number of and sum of all integer greater than 100 and less than 200 that are divisible by 7.
9. Write a program that accepts file name from user. Reverse the contents of file
10. Write a program to find the sum of series.. 1+ 4 + 9 + 16 +…………+ n. Accept ‘n’ from keyboard.
11. Write a program that accepts 2 file names from user. Copy contents of file in another file.
12. Write a program from which accepts string from command line and find out length of each command line argument.
13. Create an applet having three buttons viz. DrawOval, DrawCircle ,DrawRect&DrawLine. When user clicks any button shape should be drawn on applet accordingly.
14. Write an applet to display scrolling image in an applet window using thread.