标签:
Difference between "==null" and ".equals(null)"
== reference compare;
.equals() is a method;
notification: while sample = null; sample.equals(null) will throw NullPointerException.
refer topic links: topics link
标签:
原文地址:http://www.cnblogs.com/flowerencedew/p/4956008.html