Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started