A java source file (.java) holds human-readable text, as opposed to machine-readable binary (.class files).
If these source files hold plain text, what is the difference between .java files and .txt files? Why does java use its own file type for source code rather than .txt files?