Java :Why does Java allow us to compile a class with a name different than the file name?(5solution)

Channel:
Subscribers:
3,880
Published on ● Video Link: https://www.youtube.com/watch?v=OYZRcopggjs



Category:
Guide
Duration: 3:23
2 views
0


Thanks for watching this video
Please Like share & Subscribe to my channel




Other Videos By FixITKalia


2023-01-11Java :Tomcat VS Jetty [closed](5solution)
2023-01-11Java :How can you display the Maven dependency tree for the *plugins* in your project?(5solution)
2023-01-11Java :Providing white space in a Swing GUI(5solution)
2023-01-11Java :functional interface that takes nothing and returns nothing [duplicate](5solution)
2023-01-11Java :How to iterate over a TreeMap? [duplicate](5solution)
2023-01-11Java :Java variable number of arguments for a method(5solution)
2023-01-11Java :Does application.yml support environment variables?(5solution)
2023-01-11Java :Getting Java version at runtime(5solution)
2023-01-11Java :Spring MVC - How to return simple String as JSON in Rest Controller(5solution)
2023-01-11Java :Java Keytool error after importing certificate , "keytool error: java.io.FileNotFoundException
2023-01-11Java :Why does Java allow us to compile a class with a name different than the file name?(5solution)
2023-01-11Java :Best way to convert list to comma separated string in java [duplicate](5solution)
2023-01-11Java :Mockito How to mock and assert a thrown exception?(5solution)
2023-01-11Java :How to create a zip file in Java(5solution)
2023-01-11Java :Get file name from URL(5solution)
2023-01-11Java :Check two arguments in Java, either both not null or both null elegantly(5solution)
2023-01-11Java :HashSet vs LinkedHashSet(5solution)
2023-01-11Java :How would you implement an LRU cache in Java?(5solution)
2023-01-11Java :Why doesn't Java allow generic subclasses of Throwable?(5solution)
2023-01-11Java :Generic return type upper bound - interface vs. class - surprisingly valid code(5solution)
2023-01-11Java :How to free memory in Java?(5solution)



Tags:
how to make a class in java
how to generate class file from java file
how to run java class file
check the file name
java class file example
how to compile and run java
execute compiled java class
file names
how to build and run a c++ program in command prompt
class names
how to to create object in java with example
difference between class and object in java
what is class and object explain with example
how to get string from a user in java
java class file