What does assert() method do?

Answer Posted / swapna

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.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Model, view and Controllers in Asp.Net MVC?

668


What is disconnected scenario? : Entity framework

632


Can you please explain the request flow in ASP.NET MVC framework?

729


What are the main components of .net framework?

636


Describe the roles of clr in .net framework.?

749






What are html helpers in asp.net mvc?

657


What is rxjava used for?

750


Explain representational state transfer (rest) in detail?

652


How to change the action name in mvc?

639


What is the 'page life cycle' of an ASP.NET MVC?

690


What is the version number for the next version of the .net framework, codenamed �orcas�?

584


How large is the .net framework 3.0?

648


Why to use html.partial in mvc?

811


What is the difference between model view and controller?

561


What is NonActionAttribute ?

689