F&A Diskussionen
Create obj with loop
0 Stimmen
1 AntwortHow to stop obj getting created
0 Stimmen
4 AntwortenWe can save object into file
1 Stimme
1 Antwortwhat is wrong in my prog;
1 Stimme
1 AntwortArray of objects in java
1 Stimme
1 Antwort#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 Stimmen
1 AntwortHeute heiß
Sticky position
3 Votes
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
Suggestions needed
4 Votes
What is that z for
0 Votes