hi,
some more differences are
1)abstract classes may have a constructor while a interface cannot have a constructor
2)methods in an abstract class may be private. while in interfaces they are public by default
abstract class y
{
y(){// constructor
System.out.println("in y");
}
}
class demo extends y
{
public static void main(
String[] args)
{
demo xxx =new demo();
System.out.println("Hello World!");
}
}
prints out "in y"
"hello world"
Regds
Rahul.
[This message has been edited by rahul_mkar (edited June 27, 2000).]