Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Inherited Fruit[Solved]
c++
inheritance
1 Vote
2 Réponses
16th Oct 2021, 3:23 AM
Khomi TAKAYANAGI
Methods cannot be inherited
inheritance
methods
overriding
1 Vote
4 Réponses
21st Oct 2020, 7:05 PM
Mennatullah Mohamed Abdelmaqsoud
[Solved] Unveiling Shadowed Inherited members
c++
cpp
inheritance
members
shadowed
2 Votes
3 Réponses
7th Oct 2018, 5:14 PM
Saurabh Tiwari
Is private method inherited by super class?
inheritance
java
1 Vote
6 Réponses
9th Sep 2016, 3:49 PM
Pooja Ghetia
Are constructors inherited by (all) sub-classes?
constructors
java
0 Vote
1 Réponse
26th Dec 2016, 11:18 PM
A.G.
Why ob2.f(7) is Error? Aren't methods inherited ???
c++
0 Vote
4 Réponses
8th Oct 2019, 5:25 AM
UraL
Why init is not required in inherited class?
inheritance
python
0 Vote
3 Réponses
29th Aug 2016, 12:49 PM
anand chhetri
Fill in the blanks to declare "MyClass", publicly inherited from class "A".
c++
4 Votes
10 Réponses
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 Vote
2 Réponses
20th Apr 2021, 5:59 PM
OverHeaven
how friend function is inherited in derived class?
c++
inheritance
0 Vote
1 Réponse
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 Vote
2 Réponses
13th Sep 2016, 5:59 AM
Sarukrishna
In C# what's the difference between readonly and inherited protected class variables?
c#
1 Vote
6 Réponses
21st Dec 2019, 7:59 AM
Hisham Mohammed
How to Prevent a class from being inherited in C#.net?
c#
1 Vote
2 Réponses
28th Jun 2016, 7:21 AM
Manu
Do inherited classes also inherit the private members (methods, variables, etc...)?
c#
inheritance
2 Votes
3 Réponses
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 Vote
3 Réponses
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 Réponses
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 Réponses
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 Réponses
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 Réponse
31st Oct 2017, 7:29 AM
Morgan Lee
all fields and methods of the superclass are inherited by the subclass
inheritance
java
0 Vote
1 Réponse
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 Réponses
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 Vote
1 Réponse
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 Réponses
19th Dec 2018, 6:25 AM
Atik🇧🇩
Inheritance for private member
accessible
inheritance
inherited
private
0 Vote
3 Réponses
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 Réponses
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 Réponse
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 Réponses
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 Vote
1 Réponse
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 Vote
2 Réponses
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 Réponses
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 Vote
3 Réponses
9th Aug 2016, 4:40 PM
Ikarus
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
Ejercicio Pytho
0 Votes
What's wrong with this code ? ( Beginner)
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Please rate my code from 1 to 10
2 Votes
Write a program to find the strings are in isogram or not
0 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes
Recursion doubt
2 Votes