Multiple choice technology

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

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

According to the Java Language Specification, a source file is officially termed a 'compilation unit'. This is the formal terminology used throughout Java's documentation and specifications. Each compilation unit typically contains at most one public class or interface declaration and can include package and import statements.