MCQs > IT & Programming > .NET > Consider the following: class A { private int myInt; public void SetMyInt(int value) { myInt = value; } public bool Equals(A other) { return other.myInt == myInt; } } Note: The field myInt is Private. Is 'other.myInt' accessible from within the Equals Method?

.NET MCQs

Consider the following: class A { private int myInt; public void SetMyInt(int value) { myInt = value; } public bool Equals(A other) { return other.myInt == myInt; } } Note: The field myInt is Private. Is "other.myInt" accessible from within the Equals Method?

Answer

Correct Answer: True

Explanation:

Note: This Question is unanswered, help us to find answer for this one

.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it