GIAC GSSP-.NET Question Answer
Which of the following code snippets is an example of tight encapsulation?
private int x;
public void fun(){x=5;}
private void fun(){x=5;}
public int x;
public void fun() {x=5;}
protected int x;
protected void fun(){x=5;}
int x;
TESTED 18 Jan 2026
Copyright © 2014-2026 ACE4Sure. All Rights Reserved