How do you test a method for an exception using junit?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Is singleton thread safe in java?

0 Answers  


Why vector is used in java?

0 Answers  


What is a null class?

0 Answers  


What is method with example?

0 Answers  


What is module in project?

0 Answers  


what is Thread?

6 Answers  


What is the common usage of serialization?

0 Answers  


Which access specifier can be used with class ?

0 Answers  


Explain exception chaining in java?

0 Answers   Cyient,


What is the purpose of finalization?

4 Answers  


What is a blocking method in Java?

0 Answers  


is it mandatory to deaclare all variables public static fianl in interfaces?if i declare like in the below program, public interface A { public static final int I=0; int j=0; } in interface A,what is the difference between I,j?

2 Answers  


Categories