Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is Assertion?

Answer Posted / myluvdeepu

assertion is a condition which on being true will execute the statement.
else(if condition is false) it will throw an assertion error.)

if we want to enable the assertion, we need to enable the assertion by the option -ea.

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1701


What are the six ways to use this keyword?

1061


How can you set the applet size?

1053


What is reverse function?

1129


What are peerless components in java programming?

1012


Why static functions are used?

1096


Can a constructor have different name than a class name in java?

1188


What is the difference between throw and throws in java?

1098


Why wait and notify methods are declared in object class?

1037


What is fail fast in java?

1164


What are the advantages of packages in java?

1607


Difference between class#getinstance() and new operator ?

1205


Write a program to find the greatest of three numbers in java?

1003


What is the difference between static method and instance method in Java?

1206


Are true and false keywords?

1026