Creating categories and its sub categories is always prevalent when we are developing simple to huge applications. Basically we will have the requirement of creating one- leveled subcategory of parent category but when we come across creating multi-leveled subcategories , then it seems little vague, complex to meet the requirement. Here I have made …