my 0.02

String str = null;
System.out.println(str.equals("hello world")); // NullPointerException
System.out.println("hello world".equals(str)); // outputs false