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
Does java support Operator Overloading?
Is null false in java?
Define jre i.e. Java runtime environment?
What is final keyword in java? Give an example.
What is passed by reference and pass by value ?
Write a program to print all permutations of string?
Is main a keyword in java?
Is logger a singleton?
What is the difference between static binding and dynamic binding?
Can java cast null?
What do you understand by private, protected and public?
What is static block?
how to split string in java?
What is a parameter in a function?
Are strings immutable in java?