y‰SŽÒzJavaŽ¿–⥑ ..
[2ch|¥Menu]
682:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ
07/06/20 09:22:42
>>681
> Žg‚í‚ꂽ‚­‚È‚¢ƒX[ƒp[ƒNƒ‰ƒX‚̃ƒ\ƒbƒh‚ð‰B‚·
> public‚ðprivate‚É‚·‚é‚Ì‚à‰Â

> 3.7 Scopes
> The scope of a name is the region of program text within
> which it is possible to refer to the entity declared by the name
> without qualification of the name.

> 3.7.1 Name hiding
> The scope of an entity typically encompasses more program text
> than the declaration space of the entity. In particular,
> the scope of an entity may include declarations that introduce
> new declaration spaces containing entities of the same name.
> Such declarations cause the original entity to become hidden.

> 7.3 Member lookup
i’†—ªj
> First, the set of all accessible (˜3.5) members named N
> declared in T and the base types (˜7.3.1) of T is constructed.
> Declarations that include an override modifier are excluded from the set.
> If no members named N exist and are accessible,
> then the lookup produces no match, and the following steps are not evaluated.


ŽŸƒy[ƒW
ÅVƒŒƒX•\ަ
ƒXƒŒƒbƒh‚ÌŒŸõ
—ÞŽ—ƒXƒŒˆê——
˜b‘è‚̃jƒ…[ƒX
‚¨‚Ü‚©‚¹ƒŠƒXƒg
¥ƒIƒvƒVƒ‡ƒ“‚ð•\ަ
‰É‚‚Ԃµ2ch

5045“ú‘O‚ÉXV/292 KB
’S“–:undef