Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HelloWorld{
- public static void main(String []args){
- byte[] foo = doFoo();
- if (foo != null)
- System.out.println("foo is " + foo.toString());
- else
- System.out.println("foo is " + foo);
- System.out.println("foo is " + foo.toString()); // Aqui va a ver crash!
- }
- static byte [] doFoo() {
- return null;
- }
- }
Add Comment
Please, Sign In to add comment