1) An abstract class is allowed to have non-abstract methods. 2) If a class has abstract methods, it must be declared abstract. 3) A non-abstract class is allowed to have abstract methods. 4) A non-abstract class is allowed to have abstract methods as long as those methods are also static. My book says 1 & 2 are correct. 1 is obviously true and 4 is definately false. However, I felt that 2 was false because if a class extends a abstract class and overrides all abstract methods....it doesn't have to be abstract. And I felt that 3 was true for the same reason. Correct me if I am wrong.
if a class extends a abstract class and overrides all abstract methods...
Then there is no abstract method in the subclass!.Since it gives implementation to abstarct methods in its super class by overriding. Bye. Viki. ------------------ Count the flowers of ur garden,NOT the leafs which falls away!
If a class has an abstract method, the class must be declared abstract so 3 is false. Hope that helps. ------------------ Jane Griscti Sun Certified Programmer for the Java� 2 Platform Co-author Mike Meyers' Java 2 Certification Passport