why we are declare the function in the abstract class even
though we are declaring it in Derived class?
Answer / vishal
Abstract class is nothing but placeholder for other classes
ie subclass.It defines common shared behavior in abstract
classes and if we need to override we need to define in its
subclass else we can use shared behavior in base class.
| Is This Answer Correct ? | 1 Yes | 0 No |
what are abstract classes and how they impliment , with example
namespace is working on which compiler?
What is polymorphism give a real life example?
Program to read a comment string
i have to create a view in SQL as like in ORACLE DATA EXPRESS EDITION
what is polymorpsim? what are its types?
Why is there no multiple inheritance?
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.
Where is pseudocode used?
What is the difference between inheritance and polymorphism?
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
what is a class