Does collectionutils isempty check for null?



Does collectionutils isempty check for null?..

Answer / Shiromani Sagar

"No". The CollectionUtils.isEmpty() method checks if a Collection is empty (not null and size is 0)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Which is bigger float or double?

1 Answers  


What is character in data type?

1 Answers  


how to print the below in java? * * * * * * * * *

2 Answers  


How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?

1 Answers   Saksoft,


Explain enumeration in java?

1 Answers  


What are the advantages of inner classes?

1 Answers  


Explain the public class modifier?

1 Answers  


what are the design patterns in struts?

1 Answers  


Why java strings are immutable in nature?

1 Answers  


Which java ide is used the most?

1 Answers  


What do you mean by inner class in java? Explain

1 Answers  


What are the three types of design patterns?

1 Answers  


Categories