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

Does java support Operator Overloading?

1044


Is null false in java?

1196


Define jre i.e. Java runtime environment?

1016


What is final keyword in java? Give an example.

1016


What is passed by reference and pass by value ?

1031


Write a program to print all permutations of string?

1118


Is main a keyword in java?

978


Is logger a singleton?

949


What is the difference between static binding and dynamic binding?

1128


Can java cast null?

1041


What do you understand by private, protected and public?

1041


What is static block?

1131


how to split string in java?

1215


What is a parameter in a function?

997


Are strings immutable in java?

985