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
What do you mean by an object in java?
Can we override a variable in java?
What is the history of java?
Where import statement is used in a java program?
How do you convert boolean to boolean?
What is mysql driver class name?
Does A Class Inherit The Constructors Of Its Superclass?
Differentiate between overriding and overloading cases?
Can an abstract class be a final class?
Why set do not allow duplicates in java?
How many types of java are there?
What does t in java mean?
Why is stringbuffer faster than string?
What are static variables and functions?
When object is created and destroyed?