Sesiones de PyR
Create obj with loop
0 Votos
1 Respuesta#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 Votos
1 RespuestaEn tendencia hoy
Where did mess up....
1 Votes
Where can I learn c#
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
I need a siren sound
0 Votes