Day 92 | Simple tricky Java interview question |

Published: 25 January 2024
on channel: 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


On this page of the site you can watch the video online Day 92 | Simple tricky Java interview question | with a duration of hours minute second in good quality, which was uploaded by the user Java 25 January 2024, share the link with friends and acquaintances, this video has already been watched 2,394 times on youtube and it was liked by 109 viewers. Enjoy your viewing!