Hi,
I checked up with SUN, they say it was a BUG & has been
fixed in Java[tm] 2 SDK, Standard Edition, v 1.3.1 Beta
Release (code name JDK 1.3.1)"
Regards
Deepak Kapur.
--- kishore <dvrskishore@y...> wrote:
> hi friends,
> here is a doubt in Java.
> consider the eg:
>
> public a{
> public static void main(String[] a)
> {
> System.out.println("Hello!!");
> }
> }
>
> if compiled and run then eventhough it gives an error
> like:
>
> "class or interface expected"
>
> still it creates the class file and gives the o/p
> Hello
> can u send in ur views regarding this.........
>
> looking forward 2 ur precious reply