Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 441 Bytes

gems.md

File metadata and controls

14 lines (10 loc) · 441 Bytes

@Override
Tells compiler to check if written overriden method exist in super class or not?

@Deprecated
Tells if used api is old and may not be included in next release.

-d -- specifies the directory where class files will be placed
-cp -- stands for class path where package starts

javac -d out -cp src src/com/js/iitb/Main.java
java -cp out com.js.iiitb.Main

-Xlint -- show more warnings
javac -Xlint Main.java