a) Describe a real-world practical scenario in which a variable in a class should be set to have public visibility. 

Question

b) Write a code fragment that demonstrates an appropriate use of a nested class (i.e., a real-world practical scenario that is well-suited to the use of a nested class).

Leave an answer

Sorry, you do not have permission to answer to this question .