PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

A.
Yes

B.
No

C.
Only if the class is defined as an abstract

One Comment on “Can a private static member be accessed from a public static method of the same class?


Leave a Reply

Your email address will not be published. Required fields are marked *