nerdexam
National_Instruments

200-500 · Question #82

Can a private static member be accessed from a public static method of the same class?

The correct answer is A. Yes. See the full explanation below for the reasoning.

Question

Can a private static member be accessed from a public static method of the same class?

Options

  • AYes
  • BNo
  • COnly if the class is defined as an abstract

How the community answered

(34 responses)
  • A
    79% (27)
  • B
    6% (2)
  • C
    15% (5)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice