ru
Feedback
Hello Java

Hello Java

Открыть в Telegram

Introduction to Java

Больше
461
Подписчики
Нет данных24 часа
Нет данных7 дней
-230 день
Архив постов
Sent with Xodo

wrapper_class.pdf3.45 KB

Answers to Midsem Questions

Please go through all the lectures of exception handling and try to solve the problems on exception handling given in assignment-3.

Don't miss the upcoming videos on exception handling

Create a program that prompts the user to enter their age. If the age entered is negative, throw an IllegalArgumentException. Handle this exception using separate catch blocks for IllegalArgumentException and any other unexpected exceptions

64deb893aa3e1fe1898260fd1693f4b6.pdf0.74 KB

Assignment 3 DSA

Create a Java program that reads an integer from the user and prints its square root. Use a try-catch block to handle any InputMismatchException that may occur.

Write a Java program to calculate the average of an array of integers. Handle any potential ArrayIndexOutOfBoundsException using a try-catch block.

Implement a package named "geometry" containing classes for geometric shapes such as Circle, Rectangle, and Triangle. Each class should have methods to calculate area and perimeter.

Nested Class.pdf5.87 KB

Interface-2.pdf6.06 KB

Assignment-2.pdf4.06 KB