Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

=+33.5 and 33.12, where a and B are Lebesgue measure.

Answered: 1 week ago