adspace
Answer Posted / Arpit Gautam
[n "Yes, you can add 'null' to a List in Java. However, if you are using an ArrayList and want to avoid adding 'null', you should use the add() method with a parameter to specify the element."]
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between static and non-static methods in java.
What is a constructor overloading in java?
What is a classloader in java?
Write a program to find the whether a number is an Armstrong number or not?
What is the difference between break and continue statements?
Explain public static void main(string args[]) in java.
What is the difference between equals() and == in java?
Is minecraft 1.15 out?
What is an object in java and how is it created?
How to create a base64 decoder in java8?
What is java string pool?
Realized?
explain different ways of using thread? : Java thread
What is parsing in java?
What are the differences between heap and stack memory in java?