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