repository training java class