Can list be null in java?



Can list be null in java?..

Answer / Nishant Pal

Yes, a List (or ArrayList) can be assigned a null value in Java.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain about GridBag Layout?

1 Answers  


What are generic methods?

1 Answers  


what is jms? features of jms

2 Answers   CTS,


How to do validation of the fields in any project ?

2 Answers  


What is a constructor, constructor overloading in java?

1 Answers  


Write a function to find out longest palindrome in a given string?

1 Answers  


What are Normalization Rules? Define Normalization?

1 Answers  


What is wrapper class example?

1 Answers  


What is the difference between the final method and abstract method?

1 Answers  


What is role of void keyword in declaring functions?

1 Answers   Adobe,


How to compare two strings in java program?

1 Answers  


What is a nullable field?

1 Answers  


Categories