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 the 3 pillars of oop?
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
What is difference between data abstraction and encapsulation?
What is oops in simple words?
What is Hashing and how is it done? Pictorial form?
Write a program to multiply 3x3 matrics
What is a mixin class?
What's the full form of STL?
What are benefits of oop?
Can static class have constructor?
Is html an oop?
What is static in oop?