|
Re: Problem with annotation [message #164556 is a reply to message #164548] |
Tue, 08 August 2006 15:00 |
Eclipse User |
|
|
|
Originally posted by: hendrik_maryns.despammed.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pavan Kumar Mankala schreef:
> Hi,
> When i am trying to compile the following code in eclipse 3.2 it gives
> me an error
>
> class parent
> {
> public static void call()
> {
> System.out.println("I am parent");
> }
> }
>
> class Child extends parent
> {
> @Override public static void call()
> {
> System.out.println("I am child");
> }
> }
>
>
> Whereas, when i compile the same code using eclipse 3.1.2 it compiles
> fine. what's the problem?
Which error? Did you switch to 1.5 compliance?
H.
- --
Hendrik Maryns
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFE2Kcee+7xMGD3itQRAnY0AJ4tTIRR3VcRCi5VBxbL1mjTjcM65ACf SrHE
3uIonsouFPfGB12mYZelZ+E=
=56Gq
-----END PGP SIGNATURE-----
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08863 seconds