Answer Posted / bindhu
An assertion is a statement enables us to test our
assumptions about the program.
Each assertion contains a boolean expression that
our believe will be true when the assertion executes. If it
is not true, the system will throw an error.
| Is This Answer Correct ? | 36 Yes | 8 No |
Post New Answer View All Answers
Explain about varargs in java?
What is this () in java?
Does string is thread-safe in java?
What is static variable with example?
Can I use % with real numbers?
What is the difference between length and length() method in java?
If I only change the return type, does the method become overloaded?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
What is string literal in java?
What is java argument list?
What is primitive array?
How do you add an arraylist to an array in java?
Can we create an object of private class?
Explain abstract class in java?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?