| Inherit_Interface1 |
| When a class inherits an interface, it must implements all the members in the Interface |
| Consider this code snippet : It would generate this error : Error 1 'ConsoleApplication1.Programm' does not implement interface member
Command line compilation error:
|
| Now Implement the method print in the class, as shown below |
![]() |
![]() |
![]() |