In Java, a source file is officially called a compilation unit

  1. True

  2. False


Correct Option: A
Explanation:

To solve this question, the user needs to have knowledge of Java programming language.

The statement is True.

In Java, a source file is officially called a "compilation unit". It contains the source code for a single Java class or interface. When the Java compiler compiles the source code, it generates a bytecode file for each compilation unit, which can then be executed on any platform that has a Java Virtual Machine (JVM). Therefore, option A is correct.

The Answer is: A. True

Find more quizzes: