Q&A Discussions
Create obj with loop
0 Votes
1 AnswerWe can save object into file
2 Votes
1 AnswerArray of objects in java
1 Vote
1 Answer#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 Votes
1 AnswerHot today
Need suggestions
0 Votes
progaming
1 Votes
Best code for creating games?
0 Votes
Java full stack
0 Votes
Calculator
0 Votes
Anyone Learning Godot?
1 Votes
Duration of heart refilling
0 Votes