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
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Does constructor return any value?
What is the maximum size of arraylist in java?
What is the difference between synchronized and synchronized block?
Can a constructor call another constructor?
why not override thread to make a runnable? : Java thread
What is the similarity between dynamic binding and linking?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
How can we create objects if we make the constructor private ?
what methods would you overwrite in java.lang.object class?
What is replacefirst in java?
What is instance example?
What is the difference between ArrayList and Vector? which one is better in Java
Why collection is called framework in java?
What is java abstraction with example?