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
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What are the six ways to use this keyword?
How can you set the applet size?
What is reverse function?
What are peerless components in java programming?
Why static functions are used?
Can a constructor have different name than a class name in java?
What is the difference between throw and throws in java?
Why wait and notify methods are declared in object class?
What is fail fast in java?
What are the advantages of packages in java?
Difference between class#getinstance() and new operator ?
Write a program to find the greatest of three numbers in java?
What is the difference between static method and instance method in Java?
Are true and false keywords?