The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Your answer

Posted by Vivek Kumar on June 20, 2000 at 5:02 PM

Hi,
I got your answer.
You cannot write any executable statement outside a method.
this executable line is outside method body.
anArray = new int[10];


Cheers
vivek



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us