Which of the following functions can be invoked by an object of class D?

Consider the class inheritance.
```
class B
{
public:
B();
B(int nn);
void f();
void g();
private:
int n;
};
class D: private B
{
public:
D(int nn, float dd);
void h();
private:
double d;
};
```

a) f()
b) g()
c) h()


c) h()

The inheritance is private. Although the members are public in the base class, objects of the derived class cannot access these members.

Computer Science & Information Technology

You might also like to view...

You can call the ____________ method to insert an item at a specific index position in a List object.

a. Put b. Add c. Insert d. Place

Computer Science & Information Technology

The ________ allows you to define a value that will automatically appear in a blank record

A) Current Date B) Date Picker C) Unbound control D) Default Value

Computer Science & Information Technology

A Windows 7 laptop needed a wireless mini-PCI adapter replaced. Now the laptop cannot get more than one bar of wireless signal strength with only one access point in the area. The three other laptops attach. What is the most likely problem?

A) The antenna connectors were not reattached. B) The adapter is bad. C) The wrong security settings were applied to the wireless NIC. D) The BIOS needs to be flashed.

Computer Science & Information Technology

The ____ command, available on each frame’s context menu, discards the current frame before displaying the next frame.

a. Create b. Remove c. Delete d. Dispose

Computer Science & Information Technology