It is better if there are more examples on relevant theory parts using any language like java .