• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu

Q&A Discussies

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 Stemmen
2 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
3 Antwoorden
25th Aug 2016, 3:28 AM
Lekhraj Singh
Lekhraj Singh - avatar
scope resolution operator
c++classesconstructorsfunctionsmembersoperatorsscope
1 Stem
2 Antwoorden
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 Stem
3 Antwoorden
9th Sep 2016, 10:09 AM
Soutik
Soutik - avatar
< Vorige1...34Volgende >
Populair vandaag
Python stressed me out
1 Votes
How often can you become a fully stuck developer?
1 Votes
Improve accessibility of this page
0 Votes
Course Doubt
1 Votes
Data analysis
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
1 Votes
Help
0 Votes
How do i make a lexer and parser
1 Votes
[ReSolved] I paid for the subscription but didn't receive it.
0 Votes
Saved code
0 Votes