Can we have a private constructor ?

Answer Posted / manjunath

Used mainly to control the object creation...
Ex: the Number of user Login's we can restrict to 15 by
creating 15 objects...

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does <> mean pseudocode?

831


What is polymorphism give a real life example?

755


What is meant by oops concept?

778


Which language is not a true object oriented programming language?

864


Describe these concepts: Polymorphism, Inheritance and Abstraction.

847


Can main method override?

826


is there any choice in opting subjects like 4 out of 7

1920


What is protected in oop?

802


What is coupling in oop?

769


Is enum a class?

781


What is encapsulation and abstraction? How are they implemented in C++?

838


What is the problem with multiple inheritance?

811


What are oops functions?

777


officer say me - i am offered to a smoking , then what can you say

1830


write a program that takes input in digits and display the result in words from 1 to 1000

2179