Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is mean by interface ?
You can think of interface as a fully abstract class.
An abstract class can have abstract and non-abstract methods, 
but an interface can have only abstract methods ends with the semicolon.
An interface may also contain constant.
Example:

public interface MyInterface{
int i1;
static int i2;
static final int i3;

void showi1();
public void showi2();
public abstract showi3();
}
Posted By: Name:Rajesh Kr URL: What is mean by interface ?