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
How many bytes is a url?
What is a loop java?
Why are global variables used?
Explain where variables are created in memory?
What is stream api in java8?
How do you do descending order in java?
What do you mean by an object in java?
What is static synchronization?
What is variable declaration and definition?
Can a static class have a constructor java?
What do you understand by classes in java?
What is another word for methodology?
What is the function of java?
Explain reverse a linked list iterative solution in java?
Difference between start() and run() method of thread class?