Select from following answers:- Creating a Singleton Class using the concept of Inner Class
- An Example of Encapsulation demonstrated using Inner Class.
- Compile error
- Answer 1 and Answer 2
- All Above
The above program demonstrates the concept of Encapsulation via InnerClass concept by providing a thread safe solution for Singleton Class
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator