Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface My extends My1,My2{
- }
- interface My1{
- int i=10;
- }
- interface My2{
- int met(int a);
- }
- My ob=new ClassImplementedMy();
- ob.i;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement