Whats the answer to following question. Question : Which of the following access modifiers can be supplied for the constructor of an abstract class ? Options : a . public b . protected c . private d . default e . friendly f . No access modifier
SCJP 1.4, SCWCD 1.4
Joined: Dec 22, 2002
Using public, private, protected, or default access doesnt generate compile error. If u extend that abstract class (or do something that invokes super class constructor), it gives a compile error if the constructor is not reachable (for example, if its private it gives an error). Thanks Karthik.
Thanks<br />Karthik<br />SCJP 1.4, CCNA.<br /> <br />"Success is relative. More the success, more the relatives."