Can we have a private constructor ?
Answer Posted / ravi`
no,
we can not make a constructor private , if we make a
constructor private its method cannot access in main method .
| Is This Answer Correct ? | 17 Yes | 136 No |
Post New Answer View All Answers
Why multiple inheritance is not possible?
explain sub-type and sub class? atleast u have differ it into 4 points?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is encapsulation process?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is the benefit of oop? write a program using c++ to implement single contiguous
memory mangement techniques.display the content of the main
memory after yhe allocation of jobs and percentage of the
wastage of the main memory What is static modifier? what is difference between class template and template class? What is overloading in oops? 2. Give the different notations for the class.\ What does and I oop mean? What are the 3 pillars of oop? What is ambiguity in inheritance?