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

System.out.println("somestring"); It will create any object or not

5 Answers   CSC,


What are namespaces in java?

0 Answers  


Can we declare an anonymous class as both extending a class and implementing an interface?

8 Answers   College School Exams Tests, JVA, TCS, Wipro,


What is java autoboxing?

0 Answers  


What is the ==?

0 Answers  






What is the difference between the final method and abstract method?

0 Answers  


What is the locale class in java programming?

0 Answers  


How to convert String into primitive datatype.

6 Answers  


What is yield () in java?

0 Answers  


whats the life cycle of jsp

15 Answers   Satyam,


Differentiate Vector and ArrayList?

6 Answers   Max Telecom, Wipro,


When do you call copy constructor?

0 Answers   Tavant Technologies, Virtusa,


Categories