Dyskusje Q&A
Biblioteca para MySQL
0 głosów
1 OdpowiedźC and Data_Bases
0 głosów
1 Odpowiedź#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źJDBC , JDO, Hybernate, JPA,
0 głosów
1 OdpowiedźPopularne dzisiaj
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
How to make a 2d game
0 Votes
Not image in the page
0 Votes