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

What are the advantages of asp.net mvc?

757


What is namespace of asp.net mvc?

837


What is stateless model?

721


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

792


mention what is code first approach and model first approach in entity framework?

859


What are the options can be configured in AJAX helpers?

762


What is the purpose of a web form?

740


Does windows 10 need .net framework?

716


How we can call a javascript function on the change of a dropdown list in mvc?

782


Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?

762


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

736


What is the greatest advantage of using asp.net mvc over asp.net webforms?

730


how do you mark a property as required? For example, for a project, the name is a required field.

785


Explain bundle.config in mvc4?

849


What are ajax helpers in asp.net mvc?

796