Can we have a private constructor ?
Answer Posted / arpitha
no, its of no use having a private constructor,,, bcoz
declaring constructor as private makes it blocked.
| Is This Answer Correct ? | 6 Yes | 24 No |
Post New Answer View All Answers
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Why multiple inheritance is not possible?
What is this pointer in oop?
Why is polymorphism important in oop?
What is overriding vs overloading?
What is advantage of inheritance?
Who invented oop?
What is coupling in oop?
What is stream in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Why is encapsulation used?
What is overloading in oops?
What is polymorphism oop?
what is the sylabus for priliminaries?
How do you define a class in oop?