Prev Next

Testing / Junit Interview questions II

How will you test a method with protected access modifier?

Define your Junit test class in the same package as that of class that has the target protected method.

More Related questions...

Show more question and Answers...


Comments & Discussions