Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #30560

Re: closures

From Brixomatic <brixomatic@yahoo.com>
Newsgroups comp.lang.java.programmer
Subject Re: closures
Date 2014-12-13 08:53 +0100
Organization Aioe.org NNTP Server
Message-ID <MPG.2ef60ee728c4a60d98969d@news.aioe.org> (permalink)
References <closures-20141212234123@ram.dialup.fu-berlin.de> <m6fsbl$i23$1@dont-email.me>

Show all headers | View raw


In article <m6fsbl$i23$1@dont-email.me>, Eric Sosman (esosman@comcast-
dot-net.invalid) says...
> 
> On 12/12/2014 5:51 PM, Stefan Ram wrote:
> >    flabbergasted
> >
> >    Today, I wanted to show to the students that inner classes cannot
> >    modify fields of outer classes. [...]
> 
>      There's no such prohibition, and I don't think there ever has been.
> Perhaps you're confusing "fields of outer classes" with "local variables
> of enclosing methods?"

Or did you mean a static inner classe trying to modify a non static 
field of the outer class?

Kind regards,
-Wanja-


-- 
..Alesi's problem was that the back of the car was jumping up and down 
dangerously - and I can assure you from having been teammate to 
Jean Alesi and knowing what kind of cars that he can pull up with, 
when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer]

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: closures Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-12-12 18:05 -0500
  Re: closures Brixomatic <brixomatic@yahoo.com> - 2014-12-13 08:53 +0100

csiph-web