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
Why is singleton instance static?
What is string subsequence method?
Is java an ide?
What are java packages?
Is java still relevant?
Explain about arraylist?
Define how destructors are defined in java?
How do I remove a character from a string in java?
What are scriptlets?
why are there separate wait and sleep methods? : Java thread
What are different types of encoding?
What is java ceil?
What is use of valueof () in java?
Discuss different types of errors that generally occur while programming.
What is enhanced loop in java?