Beyond Knowing
Ed Tools
Play Quiz
Sign in
Join Sookshmas
Beyond Knowing
Jobs
Ed-Tools
Play Quiz
Bhanu. P. K
Wall
Questions
e-Notes
Calculations
MCQs
News/Article
How are Java source code files named?
A Java source code file takes the name of a public class or interface that is defined within the file.
A source code file may contain at most one public class or interface.
If a public class or interface is defined within a source code file, then the source code file must take the name of the public class or interface.
If no public class or interface is defined within a source code file, then the file must take on a name that is different than its classes and interfaces.
Source code files use the .java extension.
GMIT Mandya
Engineering-CS
Engineering-IS
mca
SEM-IV
Java
Posted on
by
Score
Share
Views
Comment(s)
Please
Login
to post your answer or reply to answer
Recent e-Note Comments
Recent e-Notes
Top Scored e-Notes
Scroll
×
Login to India's fastest growing social media for Self-Learners!
Sign in with Google
OR
Not registered?
Create an account
Forgot Password?
×
Join India's fastest growing social media network for learning and education!
Sign in with Google
OR
Already a registered user?
Login