Dyskusje Q&A
#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 głosów
1 OdpowiedźWhat is Kotlin?
3 głosów
4 odpowiedziC#Love chat-5
2 głosów
1 OdpowiedźContainerize our code
0 głosów
3 odpowiedziAR/VR + iOS/Android
3 głosów
3 odpowiedziMaking a VPN
1 Głos
2 odpowiedziPopularne dzisiaj
Time up code for data revision
0 Votes
Best Python Calculator Code
1 Votes
I want to learn why this error occurs in "while loop" function of Pythone.Can someone explain to me?
1 Votes
Animation
2 Votes
Clean Code
2 Votes
While or for loop
0 Votes
PHP
1 Votes