What is polymorphism in oops with example?
No Answer is Posted For this Question
Be the First to Post Answer
In c++ there is only virtual destructors, no constructors. Why?
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)
what is the diffrence between c# and c++
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined
Write a program to find out the number of palindromes in a sentence.
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
what are the ways in which a constructors can be called?
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
What do you mean by abstraction?
2. Give the different notations for the class.\
What is difference between class and object with example?