+ 4

Can structures perform inheritance as classes do?

18th Jul 2017, 10:38 AM
Himani
2 ответов
+ 3
Yes they can. Structures inherit publicly while classes inherit privately by default.
24th Jul 2017, 1:51 PM
Lakshay
Lakshay - avatar
+ 2
yes struct A { }; struct B : A { }; struct C : B { };
18th Jul 2017, 10:45 AM
Kedar Kale
Kedar Kale - avatar
Актуальное сегодня
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes