
Day 92 | Simple tricky Java interview question | #java
13841
234________
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
コメント