KLASSEN - USING
Dependencies: mbed
Revision 1:37cb0f4b9bef, committed 2019-01-31
- Comitter:
- Powers
- Date:
- Thu Jan 31 21:24:52 2019 +0000
- Parent:
- 0:6c14b00c7263
- Commit message:
- Ausbesserungen
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jan 31 21:07:29 2019 +0000 +++ b/main.cpp Thu Jan 31 21:24:52 2019 +0000 @@ -48,6 +48,6 @@ a.Print(7, "a"); // Klasse A - überladene Methode b.Print("b"); // Klasse B - von Klasse A Überschriebene Methode b.Print(9, "b"); // Klasse A - durch using wird die urpsrüngliche überladene Methode - getchar(); // von Klasse A verwendet + // von Klasse A verwendet return 0; }