Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java define interface

/* File name : Animal.java */
interface Animal {
   public void eat();
   public void travel();
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #java #define #interface
ADD COMMENT
Topic
Name
8+5 =