• Cursos
  • Compilador de CĂłdigo
  • Discutir
  • Preços
  • Teams
Menu

Q&A DiscussÔes

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 Votos
2 Respostas
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 Votos
2 Respostas
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 Voto
3 Respostas
25th Aug 2016, 3:28 AM
Lekhraj Singh
Lekhraj Singh - avatar
scope resolution operator
c++classesconstructorsfunctionsmembersoperatorsscope
1 Voto
2 Respostas
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 Respostas
9th Sep 2016, 10:09 AM
Soutik
Soutik - avatar
< Anterior1...34PrĂłximo >
Quente hoje
I can't see my activity
5 Votes
Linking GitHub with Sololearn profile
1 Votes
I can't see my activity in my profile
1 Votes
Am getting discourage in my Language, Help me out🙏🙏
1 Votes
Can anyone help me?
1 Votes
Is the Coding Certificate Worth it??
3 Votes
Assets not loading without trailing slash
1 Votes
High paying job?
2 Votes
Not Accessing Message Function
0 Votes
Python
3 Votes