Question:
Are private class-level variables inherited?
Answer:
Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are. Source: CoolInterview.com
yes,it can be inherited but can not be accessible
Regards, Nicku Source: CoolInterview.com
Answered by: nicku | Date: 8/13/2010
| Contact nicku
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|