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

Can a private method of a superclass be declared within a subclass?

959


Can a constructor be made final?

1050


In java, how many ways you can take input from the console?

930


How to make a write-only class in java?

1011


What is a dot notation?

958


What is the declaration statement?

887


Why singleton pattern is better than creating singleton class with static instance?

953


Which class should you use to obtain design information about an object in java programming?

1035


Why put method is idempotent?

838


What are the two types of streams offered by java 8?

875


Is there any difference between nested classes and inner classes?

1027


Does a function need a return?

916


Which is best ide for java?

997


Can we override constructor in java?

1042


What is a package in java? List down various advantages of packages.

1196