Q&A Discussões
#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 Voto
1 RespostaWhat is Kotlin?
3 Votos
4 RespostasC#Love chat-5
2 Votos
1 RespostaContainerize our code
0 Voto
3 RespostasAR/VR + iOS/Android
3 Votos
3 RespostasMaking a VPN
1 Voto
2 RespostasQuente hoje
Time up code for data revision
0 Votes
Web vs python
1 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
how to import in pygame
0 Votes