Курсы
Войти
Начать изучение ИИ
Курсы
Войти
Начать изучение ИИ
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
why do we need to declare the function as virtual? is there any limit on number of derived members that can call the function if it's not virtual?
c++
polymorphism
2 голосов
2 ответов
14th Jul 2016, 4:34 AM
Rohit Ner
What is the need for using Constructor?Can'twe just initialize a data member in a method?
constructor
data
importance
java
members
methods
of
3 голосов
2 ответов
10th Nov 2018, 5:42 PM
Neelarghya Kundu
which members of A are accessible from B?and why? class A{ int a; protected: float b; public: char c; }; class B:private A{}; 1) a 2) b 3) c 4) none
c++
0 голосов
3 ответов
25th Aug 2016, 3:28 AM
Lekhraj Singh
scope resolution operator
c++
classes
constructors
functions
members
operators
scope
1 голос
2 ответов
16th Nov 2016, 1:36 PM
Tony Robinson
Which members of A are accessible from B??? class A{ int a; protected: float b; public: char c; }; class B : private A{ }; I think it should be none as A is private.. but its wrong!!
c++
1 голос
3 ответов
9th Sep 2016, 10:09 AM
Soutik
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
3
4
Следующий >
Актуальное сегодня
Audio adding
1 Votes
What is problem in this code
0 Votes
playground input
0 Votes
Software developer
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
How I can use div
0 Votes
Activities on sololearn
0 Votes
Asking for final year project ideas!
1 Votes
Html issue
0 Votes
TIPS From Veterans
1 Votes