Can a Java source file contain more than one public class | Core Java FAQs Videos | Naresh IT

preview_player
Показать описание
Can a Java source file contain more than one public class | Core Java FAQs Videos | Naresh IT

Welcome to the Core Java Tutorial Series! In this video, we introduce the essential concepts of Core Java and guide you through building a strong foundation in Java programming. Perfect for beginners and those refreshing their Java skills!

🔹 Course Details :
• Topic: Core Java Course Overview | NareshIT

🔹 Join Our Community For Latest Updates:

• 📚 Learn Core Java with NareshIT and take your Java development expertise to the next level. Don’t forget to like, comment, and subscribe for more tutorials and updates!

#corejava #javatutorial #javaprogramming #learnjava #nareshit #javaforbeginners #javacourse #programmingbasics #javadevelopment #javaskills #javalearning #enterprisejava #javatraining #javaseries #javacode #javaframeworks #javatips #springframework #javaconcepts #codingwithjava

*💡 About NareshIT:

"Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA , Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA, Hyderabad, Chennai and Vijayawada, Bangalore India which provides online training across all the locations
________________________________________________________________________________________________________________

💡 Our Online Training Features:
• 🎈 Training with Real-Time Experts
• 🎈 Industry-Specific Scenarios
• 🎈 Flexible Timings
• 🎈 Soft Copy of Material
• 🎈 Recorded Videos of Each Session
________________________________________________________________________________________________________________

Please write back to us at
Комментарии
Автор

you doesn't explain the reason behind not to make more than one public class

adarshverma
Автор

you only told the fact, didn't explain why?? Interviewer's next question will be why?

valar-mugulis
Автор

Thanks for this wonderful and informaThanks for this wonderful and informative video. May god bless you with lots of success love and life. Keep Rocking and spreading genuine content. This video has ignited my intrest in this topic.Informative video. May god bless you with lots of success love and life. Keep Rocking and spreading genuine content. This video has ignited my intrest in this topic.

travelnlearn
Автор

?? but you didn't mention reason behind it, why java restricting two public class in a file.. sir.. you just said.. if class name is public then file name also same as public class name, , , if there are two public class in a single file then file name can't be either any one of class name... is this the reason ?? actually the answer is not satisfactory.. now the Question is why public class name and file name must same... or we just assume this is the rule defined by java people.... but what is the reason they made this rule..

nexttodo
Автор

Whole 4:30 min. Just repeating more than one public class can't be there in one java file.
Reason : as per SUN people document
😂😂
Absolute rubbish explanation...
Then my next question : why is it so... ?

sambeetnayak
join shbcf.ru