(String[] args)
| 21 | } |
| 22 | |
| 23 | public static void main(String[] args) { |
| 24 | String[][] pairs = {{"apple", "pleap"}, {"waterbottle", "erbottlewat"}, {"camera", "macera"}}; |
| 25 | for (String[] pair : pairs) { |
| 26 | String word1 = pair[0]; |
| 27 | String word2 = pair[1]; |
| 28 | boolean is_rotation = isRotation(word1, word2); |
| 29 | System.out.println(word1 + ", " + word2 + ": " + is_rotation); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | } |
nothing calls this directly
no test coverage detected