Computer Science, asked by varun7436, 9 months ago

extension of java compiler source file is _____

Answers

Answered by king304
0

There can be at most one such class or interface in a source file. ... The compiler produces a compiled class file with the same name as the public class or interface declaration; the file extension used for a compiled Java file is . class.

Answered by Anonymous
5

Explanation:

The Java compiler, javac, requires that the name of a Java source file end with a . java extension. If the source file contains a class or interface that is declared with the keyword public, the filename must be the name of that class or interface.

Hope This will help you

❤❤❤

Mark me as brainliest if possible

Similar questions