0% found this document useful (0 votes)
2 views1 page

Java Exception Handling & Packages Assignment

The document outlines a Java programming assignment consisting of five tasks. These tasks include implementing unchecked and checked exception handling, creating packages with specific functionalities, and performing operations such as palindrome checking, number swapping, and matrix multiplication. Each task focuses on different aspects of Java programming and exception handling techniques.

Uploaded by

tusharsensahoo56
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Java Exception Handling & Packages Assignment

The document outlines a Java programming assignment consisting of five tasks. These tasks include implementing unchecked and checked exception handling, creating packages with specific functionalities, and performing operations such as palindrome checking, number swapping, and matrix multiplication. Each task focuses on different aspects of Java programming and exception handling techniques.

Uploaded by

tusharsensahoo56
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Java Programming Assignment-4

1. Write a Java program to implement unchecked exception handling using try and catch
block.
2. Write a Java program to implement unchecked exception handling using nested try-and-
catch, and finally blocks.
3. Write a Java program to implement checked exception handling using all exception
handling keywords.
4. Write a Java program to create two packages pack1 and pack2 in pack1 implement a class
to demonstrate palindrome number and swapping of a number without using a third
variable.
5. Write a Java program to implement p1, p2, p3 and 3 classes to display:
i)increment and decrement operator of an integer number
ii) LCM and GCD of numbers
iii) 3x3 matrix multiplication

You might also like