// 1
be replaced with so that the program compiles? Select all options:
class A
{
public:
void someMethod() { /* ... */ }
};
class B : public A
{
public:
void someMethod(int someArg) { /* ... */ }
// 1
};
int main(int argc, char* argv[])
{
B b;
b.someMethod();
return 0;
}
Login in to like
Login in to comment