KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > picocontainer > doc > tutorial > interfaces > Boy


1 package org.picocontainer.doc.tutorial.interfaces;
2
3 // START SNIPPET: boy
4

5 public class Boy implements Kissable {
6     public void kiss(Object JavaDoc kisser) {
7         System.out.println("I was kissed by " + kisser);
8     }
9 }
10
11 // END SNIPPET: boy
12
Popular Tags