The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

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:

it is a BUG

Posted by saddy on January 24, 2001 at 1:40 PM

private modifier works in some jvm although it should not, because it is a bug u can confirm it from sun's site
http://developer.java.sun.com/developer/bugParade/bugs/4252539.html
i think this should be enough to satisfy u
saddy
> hi guys
> plz tell me can u use private with main ? ?? ?
> if yes why ? ? ? ? ?
> why it is working with private ,without writing any access specifier and also with private .
>
>






Replies:

Sponsored Links



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