Class SCJP MCQ!
I came accors a SCJP MCQ that is
Which of the following statements are true?
A) A local class can be declared as abstract
B) An abstract class can be instantiated
C) An abstract class can be implicitly final
D) An abstract class must declare at least one abstract method
E) An abstract class cannot extend a concrete class
I think the answer is A only.I know that B is wrong because abstract class can not be instantiated.Is my answer is corect or not.If not can anyone give me a explanation.
[542 byte] By [
ram102125a] at [2007-11-27 5:36:35]

A,D and E can all be straightforwardly checked. If you have a problem with them post code, results and question.
As far as B and C are concerned, I'm not sure about the jargon. What is an "implicitly final" class? When you talk about instantiating a class, does the following count as instantiating both AbstractClass and ConcreteImplementation?AbstractClass foo = new ConcreteImplementation();
> A,D and E can all be straightforwardly checked. If
> you have a problem with them post code, results and
> question.
>
> As far as B and C are concerned, I'm not sure about
> the jargon. What is an "implicitly final" class?
> When you talk about instantiating a class, does the
> following count as instantiating both AbstractClass
> and ConcreteImplementation?AbstractClass foo =
> new ConcreteImplementation();
Still I don't get it how u got D and E as correct.
D says that an abstract class must at least declaire at least one abstract method but i think because u made a class abstract u don't need to say abstract modifier in method because it will be default.
E says abstract class can not extend a concrete class.how did u get it as correct.can u explain it.
Can anyone futher explain to me whether iam correct or not?