Some notes when following UCB's CS61B


Here I list some options that may be often used in javac( to be continued):


  1. specify a directory where .class will be put:   -d  Set the destination directory for class files. The directory must already exist; javac will not create it

  2. -g

    Generate all debugging information, including local variables. By default, only line number and source file information is generated


Terminal on Mac:


cd 

cd ..

ls