What is an Exception | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

What is an Exception

5th Dec 2016, 6:35 PM
gollakoti adinarayana
gollakoti adinarayana - avatar
5 ответов
0
An exception is a problem that arises during the execution of a program. A C++ exception is a response to an exceptional circumstance that arises while a program is running, such as an attempt to divide by zero.
5th Dec 2016, 6:36 PM
Vipul Walia
Vipul Walia - avatar
0
not in C++,I m asking in java
5th Dec 2016, 6:37 PM
gollakoti adinarayana
gollakoti adinarayana - avatar
0
tanq
5th Dec 2016, 6:37 PM
gollakoti adinarayana
gollakoti adinarayana - avatar
0
Meaning and logic behind remains same working manner varies.
5th Dec 2016, 6:40 PM
Vipul Walia
Vipul Walia - avatar
0
when the normal flow of program is disrupted then an exception is thrown. There are two types of exceptions 1. checked exception : This occurs during compile time. 2. unchecked exception : This occurs during run-time.
9th Dec 2016, 3:58 PM
Vishesh Awasthi
Vishesh Awasthi - avatar