Thursday, 4 May 2017

Can we define virtual static method ?

virtual means the method called will be chosen at run-time, depending on the dynamic type of the object. static means no object is necessary to call the method.
How do you propose to do both in the same method? So Answer is NO

No comments:

Post a Comment