• Corsi
  • Compilatore di codice
  • Discuti
  • Prezzi
  • Squadre
Menu

Discussioni Q&A

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 Voti
2 Risposte
14th Jul 2016, 4:34 AM
Rohit Ner
Rohit Ner - avatar
What is the need for using Constructor?Can'twe just initialize a data member in a method?
constructordataimportancejavamembersmethodsof
3 Voti
2 Risposte
10th Nov 2018, 5:42 PM
Neelarghya Kundu
Neelarghya Kundu - avatar
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 Voti
3 Risposte
25th Aug 2016, 3:28 AM
Lekhraj Singh
Lekhraj Singh - avatar
scope resolution operator
c++classesconstructorsfunctionsmembersoperatorsscope
1 Voto
2 Risposte
16th Nov 2016, 1:36 PM
Tony Robinson
Tony Robinson - avatar
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 Voto
3 Risposte
9th Sep 2016, 10:09 AM
Soutik
Soutik - avatar
< Precedente1...34Successivo >
Popolare oggi
debate which is better
6 Votes
Mobile app not working sometimes
0 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Is anyone else having this issue?
2 Votes
how to view only application
0 Votes
If very confusing
0 Votes
Arduino
2 Votes
I’m really confused
0 Votes