Another question was: what's the difference between an abstract class and an interface. Can a class inherit both from an abstract class and an interface at the same time?
Sigiloso
Uh, this question is as dumb as the first answer. A Java class can extend at most one class, and implement one or more interfaces. A combination of the above is allowed.