Define class,object,and access specifier (Public,Private,Protected)?Also Explain with an example
Answers
Answered by
0
Answer:
If a class has private constructor then you cannot create the object of that class from outside of the class. Let's see an example to understand this: Private access ...
Similar questions