Can we create object of class with private constructor?
Answer Posted / supriya
No we cannot create the objects of class with private
constructor outside the class
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why do we need polymorphism in c#?
How Do you Code Composition and Aggregation in C++ ?
Why do we use encapsulation in oops?
Prepare me a program for the animation of train
What is multilevel inheritance?
What is destructor give example?
What is this pointer in oop?
State what is encapsulation and friend function?
What is property in oops?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
what is graphics
What is interface? When and where is it used?
What is abstraction in oop?
What is polymorphism and example?
Is abstract thinking intelligence?