Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface printable{
- void print();
- }
- class A6 implements printable{
- public void print(){System.out.println("hello");}
- public static void main(String args[])
- {
- A6 ob = new A6();
- ob.print();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement