What are assertions in java?



What are assertions in java?..

Answer / mrunalini

assertion is a statement in the Java programming language that enables you to test your assumptions about your program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What's the default access specifier for variables and methods of a class?

0 Answers  


what is abstract class in Java?

0 Answers   Hexaware, Syntel,


Explain the difference between string, stringbuffer and stringbuilder in java?

0 Answers  


What is the purpose of setAutoCommit() ?

1 Answers   Google,


what is difference betwenn Access Specifier and Access Modifier ????

2 Answers  


What is serial version uid and its importance in java?

0 Answers  


Does importing a package imports its sub-packages as well in java?

0 Answers  


What is difference between char array and string?

0 Answers  


What are the drawbacks of reflection?

0 Answers  


What is extension method in java?

0 Answers  


what is mutual exclusion? : Java thread

0 Answers  


Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

0 Answers   Cisco,


Categories