Which statements are most accurate regarding the following classes?

```
class A {
  private int i;
  protected int j;
}

class B extends A {
  private int k;
  protected int m;

  // some methods omitted
}
```

a. In the class B, an instance method can only access i, j, k, m.
b. In the class B, an instance method can only access j, k, m.
c. In the class B, an instance method can only access j, m.
d. In the class B, an instance method can only access k, m.


Ans: b. In the class B, an instance method can only access j, k, m.

Computer Science & Information Technology

You might also like to view...

The number of bauds per second is called the ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following are valid entities in a SAML operation? (Choose all that apply)

A. authenticator B. identity provider C. service provider D. attribute authority

Computer Science & Information Technology

? Critical Thinking Questions ? The analysts at Techno InfoSystems are considering the four-model approach to system development for a new client. ?If they make use of the four-model approach, which of the following is a likely outcome?

A. ?Time taken to develop the model increases. B. ?Costs needed to develop a logical and physical model of the current system will be less. C. ?It will not be possible to get a clear picture of the current system functions before modifications are made. D. ?The requirements of a new information system will always be different from the current information system.

Computer Science & Information Technology

Discuss why many people use text messaging, including the use of acronyms.

What will be an ideal response?

Computer Science & Information Technology