Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q.no. 1: CLO-IV (10 marks) 1. Write the process of exception handling in java using bullet points. (2 Marks) 2. Create a custom exception of
Q.no. 1: CLO-IV (10 marks) 1. Write the process of exception handling in java using bullet points. (2 Marks) 2. Create a custom exception of unchecked type and write a simple program to display the use of your custom exception. (4 Marks) 3. Write the difference between throw and throws keywords used for exception handling (2 Marks) 4. What is exception propagation? How to handle exception in child class? (2 Marks) CSC241 - Object Oriented Programming COMSATS University Islamabad, Wah Campus Fall-2020 BEE-3A, 3B, 3C Muhammad Qasim Assignment #4 Due Date: 01-January-2020 Q.no. 2: CLO-IV 1. What is difference between java.io package and java.nio package? (2 Marks) 2. What is difference between absolute and relative path? (2 Marks) 3. What is the use and advantage of Object Serialization in java? (2 Marks) 4. What is difference between character stream and byte stream? (2 Marks) 5. What is Formatter class? What is use of Formatter class in java? (2 Marks) Q.no. 3: CLO-IV (10 marks) (10 marks) 1. For example I have recruited you in my software house and assign you a task to create a GUI based calculator application that has only 0-9 numbers and supports four arithmetic operation i.e. +, -, x, and / using java. Write the steps that you will follow to create that application
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