Discussion – Lesson 14 - Interfaces in VB.NET
BackComments
2 messages from 12 displayed.
//= Settings::TRACKING_CODE_B ?> //= Settings::TRACKING_CODE ?>
Comments
I see how you see it But
this way makes it confusing for me. I guess we all think differently.
Next, we'll try "multiple inheritance", more accurately, implement multiple interfaces by a single class.
This sentence shouldn't say "interface A1 and A2 based on class A.", but "class A based on interface A1 and A2". As I understand it, the phrase "implement an interface" means to add "Implements A1" to your class. I can see somebody can find it confusing, didn't think about that before.
"Next, we'll try 'multiple inheritance', more accurately, having a single interface implemented by several classes".
You could say this, but I find it confusing from my understanding to this article. The chapter is talking about adding a Pterodactyl class (a single class) based on 2 interfaces (IBird and ILizard). "Several classes" would confuse me here.
2 messages from 12 displayed.