Android studio is the best example of Inheritance in real world. In android studio, there are already defined java class files that are inherited by the user. If a user want to use a specific feature in there app they just have to inherit that specific class in there derived class.