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
Computer Science,
4 months ago
Computer Science,
4 months ago
Math,
4 months ago
Physics,
9 months ago
English,
9 months ago
History,
1 year ago
Math,
1 year ago
Math,
1 year ago