Question: i want solution in java language Q.no. 1: CLO-IV (10 marks) 1. Write a program to demonstrate exception propagation in java? (4 marks) 2. Create

i want solution in java language

i want solution in java language Q.no. 1: CLO-IV (10 marks) 1.

Q.no. 1: CLO-IV (10 marks) 1. Write a program to demonstrate exception propagation in java? (4 marks) 2. Create a program of your own choice and show (6 marks) a. The use of try-catch-finally block for exception handling. b. The use of throw keyword for exception handling. c. The use of throws keyword for exception handling. Q.no. 2: CLO-IV (10 marks) 1. Create a text file that has number from 1 to 20. 2. Use any of the byte stream class and read the data from the text file. 3. Multiply the data that is being read in Question 2-2 with 5 and save the result in a new text file. 4. Perform object serialization. Q.no. 3: CLO-IV (10 marks) 1. Create the following GUI. You do not have to provide any functionality. OK Printer Printer: MyPrinter Image Text Code Print Quality High Cancel Selection All Applet Print to File Setup Help 2. (Temperature Conversion) Write a temperature-conversion application that converts from Fahrenheit to Celsius. The Fahrenheit temperature should be entered from the keyboard (via a JTextField). A JLabel should be used to display the converted temperature. Use the following formula for the conversion: Celsius = x (Fahrenheit -32)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!