Java Programming
1. Write a program in Java to find the highest of any five numbers. How do you compile and execute this Java program?
2. Write a program to explain the Exception Handling mechanisms in Java using the keywords: try, catch and finally.
3. Explain the uses of FileInputStream and FileOutputStream? Write short notes on each.
4. Describe the uses of ODBC, JDBC and Driver Manager?
5. Briefly describe (i) RMI and (ii) CORBA
6. Write a Java program to write the first 10 terms of Fibonacci sequence.
7. Write a Java program that creates a string object, initialize it with your name, and performs the following operations.
a. To find the length of the string object using appropriate String method.
b. To find whether the character ‘a' is present in the string. If yes find the number of times ‘a' appear in the name and the location where it appears.
8. Writing Program containing
a. Creating a string object, initialize it with your name.