Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2633
| Newsgroups | comp.lang.java.help |
|---|---|
| Date | 2013-03-29 18:14 -0700 |
| References | (1 earlier) <kiv6mp$bsm$1@dont-email.me> <8601dc97-9c1a-4fc0-95cc-9ac26689a5e8@googlegroups.com> <cc96f202-7fe6-4aff-8247-179e202928df@googlegroups.com> <k5zlxwwtt818$.schlgz5gkagv$.dlg@40tude.net> <7380ce25-22c4-4c3e-b653-3eae9a7bfa9d@googlegroups.com> |
| Message-ID | <6e01f26e-d3a7-4667-ab74-426a1b04edfb@googlegroups.com> (permalink) |
| Subject | Re: Is this java applet safe? |
| From | Lew <lewbloch@gmail.com> |
Whiffy wrote:
> No java [sic] on these pages
>
> http://www.oracle.com/technetwork/java/javase/downloads/index.html
> http://docs.oracle.com/javase/tutorial/
Is this, from that tutorial site you just cited, not Java code?
public class ShadowTest {
public int x = 0;
class FirstLevel {
public int x = 1;
void methodInFirstLevel(int x) {
System.out.println("x = " + x);
System.out.println("this.x = " + this.x);
System.out.println("ShadowTest.this.x = " + ShadowTest.this.x);
}
}
public static void main(String... args) {
ShadowTest st = new ShadowTest();
ShadowTest.FirstLevel fl = st.new FirstLevel();
fl.methodInFirstLevel(23);
}
}
What do you mean "no java [sic]"?
That's Java!
--
Lew
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is this java applet safe? Whiffy <adnw14@live.co.uk> - 2013-03-27 09:15 -0700
Re: Is this java applet safe? markspace <markspace@nospam.nospam> - 2013-03-27 09:30 -0700
Re: Is this java applet safe? Whiffy <adnw14@live.co.uk> - 2013-03-27 16:32 -0700
Re: Is this java applet safe? Whiffy <adnw14@live.co.uk> - 2013-03-29 12:19 -0700
Re: Is this java applet safe? Joerg Meier <joergmmeier@arcor.de> - 2013-03-29 21:43 +0100
Re: Is this java applet safe? Whiffy <adnw14@live.co.uk> - 2013-03-29 16:24 -0700
Re: Is this java applet safe? Lew <lewbloch@gmail.com> - 2013-03-29 18:14 -0700
Re: Is this java applet safe? Whiffy <adnw14@live.co.uk> - 2013-08-02 10:37 -0700
Re: Is this java applet safe? Whiffy <adnw14@live.co.uk> - 2013-10-06 21:13 -0700
Re: Is this java applet safe? Joerg Meier <joergmmeier@arcor.de> - 2013-03-30 12:46 +0100
Re: Is this java applet safe? "John B. Matthews" <nospam@nospam.invalid> - 2013-03-31 14:07 -0400
csiph-web