Javac will give the name MyCode.class to the bytecode class file that it will generate. To compile more than one source file, you can list the file name in a file separated by blanks or line breaks. MyCode DO NOT USE THE .extensions. The above command assume that MyCode.java is in your current directory. Destination directory of the class file.
Current directory is the default mode.
Generate debugging information, including local variables. By default, only line number and sourcefiles information is generated. Optimize code for execution time. This option may slow down the compilation, and produce larger class file. For more information check man pages.