Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public interface A {
  2. A method1();
  3. }
  4. public interface B : A {
  5. overrride B method1();
  6. void otherMethod();
  7. }
  8.  
  9. public interface B : A {
  10. //A method1(); /* commented out because it is inherired */
  11. void otherMethod();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement