Java source code is code that you write in the Java programming language.

Java source code is converted to Java bytecode by the Java compiler.

Java source code files usually have the .java extension.

Sun recommends that Java source code files be no longer than two thousand lines. Larger source code files should be split up into multiple smaller files.