Adding default params.
Small changes to c and c++.
Adding java.