It is better if you can give the example codes that were discussed in the class to understand concepts clearly .