with the same singnature of a function whose behavior within a inheriting class can be overridden is called a virtual function all non static are considered as virtual by default to remove default virtual feature in each function you have to make it private or final in java classes. Although Java does NOT have a virtual keyword, Java has virtual functions and you can write them. In object-oriented programming, a virtual function or virtual method is a function or method whose behaviour can be overridden within an inheriting class by a function with the same signature. This concept is a very important part of the polymorphism portion of object-oriented programming (OOP). | 0 |
By: [email protected] On: Fri Sep 05 16:50:41 IST 2014 0 392 0 | 392 |
Are You Satisfied :0Yes0No |