Few Java Program to explain OCAJP and OCPJP.