Day 92 | Simple tricky Java interview question |

Опубликовано: 25 Январь 2024
на канале: Java
2,394
109

Thanks for viewing the Description

The Answer is : Compilation error

Reason : test() is not a constructor because the class name is Test(T capital letter).
then the compiler expects the return type.

Exception: Return type for the method is missing.


#javacertification #ocjp #javaprogramming #learnjava #interview #javaquestions #javatutorial #scjp #corejava #java