Q&A Discussies
Biblioteca para MySQL
0 Stemmen
1 AntwoordC and Data_Bases
0 Stemmen
1 Antwoord#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 Stemmen
1 AntwoordJDBC , JDO, Hybernate, JPA,
0 Stemmen
1 AntwoordPopulair vandaag
Best language?
0 Votes
Bro can you fix yt error?
0 Votes
Java full stack
0 Votes
Best code for creating games?
0 Votes
Duration of heart refilling
0 Votes
Calculator
0 Votes