Menu

#81 No error on statically null receiver

Self_Reported
open
nobody
5
2012-11-27
2004-01-09
No

- no error on:
public class NullReceiver {
public static void main (String[] args) {
System.out.println((1==2 ? null : null).toString());
} // end of main ()

}

Discussion


Log in to post a comment.

Auth0 Logo