Help the world stop coronavirus! Stay home!

Prev Next

JUnit / Junit Interview questions

Can a JUnit test method have a return type other than void?

All the JUnit test methods should have a void return type. otherwise it will be ignored.

If the return type of a test method is changed, it would not be considered as a test method and would be ignored during execution of tests.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Junit Interview questions III

Comments & Discussions