Can we have a private constructor ?
Answer Posted / prabha govind
yes
and if a constructor is made private/protected...then that
class cannot be inherited
| Is This Answer Correct ? | 116 Yes | 23 No |
Post New Answer View All Answers
What is encapsulation example?
What is polymorphism and its types?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is object and example?
What is abstraction with example?
2. Give the different notations for the class.\
What are the 4 main oop principles?
What is encapsulation in oops?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Why polymorphism is used in oops?
Can private class be inherited?
What is multilevel inheritance in oop?
What is a class oop?
What is the advantage of oop over procedural language?
Why do pointers exist?