Can you inherit a private class?
Answer / Chandan Bhardwaj
No, private classes cannot be inherited because their visibility is restricted to the defining file. Inheritance can only occur with public and protected classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
How long to learn object oriented programming?
Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
what is object slicing
What is overriding vs overloading?
In multilevel inheritance constructors will be executed from the .... class to ... class
What is encapsulation selenium?
What are properties in oop?
Why multiple inheritance is not allowed?
What are the two different types of polymorphism?
What does and I oop mean?
What is the default size allocated for array in the statement if size not specified " int a[] "