Discussions Q&R
9
2 Votes
6 Réponses#include <iostream>
using namespace std;
class A{
public:
void f1();
};
class B : public A{
public:
virtual void f1();
}
int main()
{
A * obj = new B;
obj.f1();
}
Ques: can we write virtual before an overridden function from the base class?? if yes which f1() should it call base class f1() or derived class f1()???
0 Vote
1 RéponseTo bind two things of similar origin but separate identities together as one unit with ability to function independently as long and the unit is not corrupted. How to set x to get y and become z permanently and protect the unit from corrupt or deviation or denying or hiding while z securely functions actively is the purpose.
0 Vote
1 RéponseAujourd'hui en vedette
Using Python on VScode
2 Votes
Python Developer
0 Votes
fully dynamic arrays
1 Votes
Wayss
0 Votes
Hearts
0 Votes
Project subjection
0 Votes