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 |
how to find the largest of given numbers in an array
Write pseudo code for push in a stack?
what is different between oops and c++
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
i got a backdoor offer in process global,Bangalore..Can i work with it?
WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
1. Define a class.
What is polymorphism explain?
what is the difference between function template and template of function?explain with example.
How to improve object oriented design skills?
Which keyword is written to use a variable declared in one class in the other class?
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?