Practice with static methods
Комментарии (2)
- популярные
- новые
- старые
Для того, чтобы оставить комментарий Вы должны sign in
YaharpY
15 December 2023, 07:17
Task#5: Instead of duplicating the code to create a BufferedReader in each method, we should have created a private method to handle the common logic, but no... didn't compile. Why?
+1
Dmitrii PlaksunovBackend Developer at Emerging Travel Grou
28 December 2023, 12:47
It'll compile only if you have declared static parameter, cause static methods can't refer to non-static params
0