×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Can we keep a different name for the java class name and java file name?

4. Can we keep a different name for the java class name and java file name?

  1. Yes
  2. No

Answer: A) Yes

Explanation:

Yes, we can keep different names for java filename and java class name if and only if the class is not public.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.