Can you add null to a list java?
Answer / 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 |
class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
Can singleton class be cloned?
What are default methods ?
what is synchronization
What is the difference between the ">>" and " >>>" operators in java?
How do u provide security in java
What is the collection interface?
what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0
What is a stack class in java ?
1 Answers Akamai Technologies,
What are the two types of exceptions in java? Which are the differences between them?
What is the Difference between Final Class && Abstract Class?