user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

Question 110. What Does Assert() Method Do?

user image

Abhishek Mishra

2 years ago

In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is false. The program proceeds without any interruption if the condition is true.

Recent Doubts

Close [x]