What are the 3 pillars of oop?
No Answer is Posted For this Question
Be the First to Post Answer
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
Can static class have constructor?
what is the difference between ERROR and EXCEPTION?
A file pointer always contains the __________ of the file
Where You Can Use Interface in your Project
What is a scope operator and tell me its functionality?
what's the basic's in dot net
polymorphism means?
what are the ways in which a constructors can be called?
What is methods in oop?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
How is polymorphism achieved?