InterviewSolution
Saved Bookmarks
| 1. |
What happens if a JUnit Test Method is Declared as "private"? |
|
Answer» If a JUnit test method is declared as "private", it compiles successfully. But the execution will fail. This is because JUnit requires that all test methods must be declared as "public". |
|