In this video, I have explained how can we have file name different from class name in java. This is one of the biggest myth in java that it's mandatory to have class name and file name same.
Topics Discussed:
$ Compile Error When Class Name is Not Same as File Name
$ Access Modifiers Applicable at the Top Level
$ File or Class :: What We Compile & What We Run
$ How to Have Class Name Different From File Name
$ How to Have Interface Name Different From File Name
$ How to Have Enum Name Different From File Name
$ Best Practice to Follow For File Name and Class Name
🎬 Can a Java File Have More Than One Class? | Access Modifiers in Java:
• Can a Java File Have More Than One Class? ...
🎬 Java - Conceptual & Interview Questions:
• Java - Conceptual & Interview Questions
🎬 Git - Concepts & Interview Questions:
• Git - Conceptual & Interview Questions
🎬Watch my most recent videos: / @automationelearn
🎬 YouTube Channel:
/ @automationelearn
#java #javamyth #javainterviewquestions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔴 My YouTube Gears (I Use to Make Videos)
✔️ Recording Mic - https://amzn.to/3hXR6l2
✔️ Laptop - https://amzn.to/3MTCb9U
✔️Microphone Stand - https://amzn.to/3MIsJ9b
✔️ Bluetooth Extendable Selfie Stick - https://amzn.to/3t5G5nW
~~~~~~~~~~~~~~~~~~
Visit, Subscribe, and Share the Knowledge using the below links:
/ @automationelearn
Nesta página do site você pode assistir ao vídeo on-line Can Class Name and File Name be Different In Java? | Biggest Myth | Java Interview Question duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Automation eLearn 04 Janeiro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,700 vezes e gostou 38 espectadores. Boa visualização!