hi everybody,

Recently in one interview , i face thes questions.

1. how can you create an instance of class having the constructor with private acces specifier

2. what is singleton class and what is its use in real time.

3. where the copy constructor is usefull in real time.

4. how can you create a class which cannot be inheritable?


if any body knows pls help me so that it will be usefull for the next interview

Thanks in Advance