Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Inherited Fruit[Solved]
c++
inheritance
1 Vote
2 Answers
16th Oct 2021, 3:23 AM
Khomi TAKAYANAGI
Methods cannot be inherited
inheritance
methods
overriding
1 Vote
4 Answers
21st Oct 2020, 7:05 PM
Mennatullah Mohamed Abdelmaqsoud
[Solved] Unveiling Shadowed Inherited members
c++
cpp
inheritance
members
shadowed
2 Votes
3 Answers
7th Oct 2018, 5:14 PM
Saurabh Tiwari
Is private method inherited by super class?
inheritance
java
1 Vote
6 Answers
9th Sep 2016, 3:49 PM
Pooja Ghetia
Are constructors inherited by (all) sub-classes?
constructors
java
0 Votes
1 Answer
26th Dec 2016, 11:18 PM
A.G.
Why ob2.f(7) is Error? Aren't methods inherited ???
c++
0 Votes
4 Answers
8th Oct 2019, 5:25 AM
UraL
Why init is not required in inherited class?
inheritance
python
0 Votes
3 Answers
29th Aug 2016, 12:49 PM
anand chhetri
Fill in the blanks to declare "MyClass", publicly inherited from class "A".
c++
4 Votes
10 Answers
5th Feb 2019, 9:20 AM
İsmail Çavlan
Is it possible to make two instances of two different classes which are inherited by one interface.
c#
0 Votes
2 Answers
20th Apr 2021, 5:59 PM
OverHeaven
how friend function is inherited in derived class?
c++
inheritance
0 Votes
1 Answer
10th Aug 2016, 1:15 PM
R V
A inherited class is inherited with private visibilty mode.Can it access the data members and functions of the base class?
c++
0 Votes
2 Answers
13th Sep 2016, 5:59 AM
Sarukrishna
In C# what's the difference between readonly and inherited protected class variables?
c#
1 Vote
6 Answers
21st Dec 2019, 7:59 AM
Hisham Mohammed
How to Prevent a class from being inherited in C#.net?
c#
1 Vote
2 Answers
28th Jun 2016, 7:21 AM
Manu
Do inherited classes also inherit the private members (methods, variables, etc...)?
c#
inheritance
2 Votes
3 Answers
9th Jan 2017, 3:03 PM
Enrique de la Cal
Can I in OOP in Python implement method __init__ in inherited class?
oop
python
0 Votes
3 Answers
20th Feb 2019, 3:53 PM
Elvis Isaev
Which OOP concept describes how a Class customises behaviours inherited from another Class?
#sololearn
-1 Vote
5 Answers
30th Apr 2018, 2:36 PM
shadrach esharive
In INHERITENCE ,the Private Members of Base Class are Inherited in Derived Class. ?YES or NO ?
c++
inheritence
private
16 Votes
9 Answers
24th Nov 2019, 8:20 AM
ROHIT KANOJIYA
Why cant we use super() functions for attributes but for the inherited class?
java
2 Votes
5 Answers
23rd Jul 2017, 8:09 PM
Shrikant Narvekar
What if a inherited variable was redefined in the child class
inheritance
java
variables
2 Votes
1 Answer
31st Oct 2017, 7:29 AM
Morgan Lee
all fields and methods of the superclass are inherited by the subclass
inheritance
java
0 Votes
1 Answer
2nd Sep 2016, 6:26 PM
Gabriel Comaniciu
BASE CLASS CONSTRUCTORS AND DESTRUCTORS ARE NOT INHERITED TO DERVIED CLASS ..THEN HOW THIS ...
constructor
destructors
inheritance
1 Vote
2 Answers
6th Nov 2017, 4:47 PM
I'm_Groot
C# virtual method that takes decimal vales from inherited class then calculates a total.
c#
0 Votes
1 Answer
18th Jul 2017, 9:54 PM
Jimi Walsh
Whats is the benefit if we use enemy pointer to the type of it's inherited class ?
abstract-classes
c++
objects
pointers
polymorphism
virtual
1 Vote
2 Answers
19th Dec 2018, 6:25 AM
Atik🇧🇩
Inheritance for private member
accessible
inheritance
inherited
private
0 Votes
3 Answers
30th May 2018, 8:06 AM
Ketan Lalcheta
How can a final class be a super class if it cannot be inherited according to the definition?
classes
final
java
knowledge
1 Vote
2 Answers
14th May 2017, 3:02 PM
Prathamesh Jadhav
Why do I can't initialize protected variable through constructors aren't they inherited protected members of derived class?
c++
polymorphism
1 Vote
1 Answer
23rd Dec 2016, 6:07 PM
Abhishek Sharma
Methods in super class are inherited to child class. But for parameter constructors why we are using super keyword in sub class.
keyword
super
2 Votes
2 Answers
13th Apr 2019, 2:40 PM
Pravallika
if a sub class besides those inherited attributes has it's own attribute how should the constructor look like?
java
0 Votes
1 Answer
21st Sep 2022, 10:37 PM
Lenoname
Under Java->More on Classes->Polymorphism, to create an object of an inherited class, " Animal a = new Dog();" is used. "Dog a =
java
polymorphism
0 Votes
2 Answers
20th Aug 2018, 4:25 AM
Dinesh Kumar
how the size of the object of the inherited class can be known if its access level specifier is private.Please suggest for public and protected also
c++
2 Votes
2 Answers
6th Jul 2017, 1:27 PM
manish chouhan
Is there any way of detecting if there is an perticular inherited class within an array of a class which said perticular class is derived from ?
arrays
c#
classes
inheritance
0 Votes
3 Answers
9th Aug 2016, 4:40 PM
Ikarus
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
How to allow one instance of exe
2 Votes
Reverse observer pattern : remove dynamic_cast
2 Votes
Python
1 Votes
What has happened?
1 Votes
Theater management help me
2 Votes
What should I add/improve ?
1 Votes
Should You Specialize or Diversify in Programming?
1 Votes
Tools for web design?
1 Votes
Flight tracker coding foundation help me
1 Votes
Remove raw pointer from observer design pattern
0 Votes