nerdexam
GIAC

GSSP-JAVA · Question #198

GSSP-JAVA Question #198: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #198. The question stem and answer options stay visible for context.

Question

Consider the given lines of codE. package ucert class memberaccess { public int mem = 10; } Which of the following can directly access the variable mem?

Options

  • AAny class
  • BAny class that extends the memberaccess class
  • COnly the memberaccess class
  • DAny class in the package ucert

Unlock GSSP-JAVA to see the answer

You've previewed enough free GSSP-JAVA questions. Unlock GSSP-JAVA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GSSP-JAVA Practice