Here SubClassB inherited the methodfoo()fromSuperClassA. Polymorphism:Polymorphism means taking many forms, where ‘poly’ means many and 'morph' means forms. Polymorphism allows you define one interface or method and have multiple implementations. In Java, there are two types of polymorphism: comp...
8) Dynamic and Extensible Code:-Java has Dynamic and Extensible Code Means With the Help of OOPS java Provides Inheritance and With the Help of Inheritance we Reuse the Code that is Pre-defined and Also uses all the built in Functions of java and Classes 9) Distributed:-Java is a distribu...
We Know that java provides us the facility for both creating CUI and GUI Programs All the Previous Topics are Related with the CUI But Applets Provides the ability to user for creating Graphical Programs Like Creating Buttons, Creating Events such that E