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

Print Vertical traversal of a Binary Tree.

0 Answers   Amazon,


Can Anybody tell the diff b/w jdk1.6 and latest version.

2 Answers  


What is string subsequence method?

0 Answers  


int a=1; float b=1.0; System.out.println(a==b);

13 Answers   CTS, Honeywell, McAfee,


How to add menushortcut to menu item?

0 Answers  






What flag up means?

0 Answers  


What does percent mean in java?

0 Answers  


What is the use of callablestatement?

0 Answers  


What do you understand by garbage collection in Java? Can it be forced to run?

0 Answers   TCS,


what is use of threads how many ways to create thread

3 Answers   iTrust, Verizon,


What is core java called?

0 Answers  


watz the difference between abstract class and interface? Which one u ill choose as a designer?

1 Answers   Sonata,


Categories