Does java list allow null?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

what is singleton in java?

0 Answers   IBS,


Can a final variable be null?

0 Answers  


String is mutable or immutable?

3 Answers  


Explain the use of shift operator in java. Can you give some examples?

0 Answers  


What are the basic interfaces of java collections framework?

0 Answers  


JVM is platform independent or depeneded?

7 Answers  


What is array class in java?

0 Answers  


Can you have an inner class inside a method and what variables can you access?

2 Answers  


What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }

5 Answers   Rolta,


what is the difference between AWT and SWING what is the advantage of using swing?

3 Answers  


What are latest features introduced with java 8?

0 Answers  


Why scanner is used in java?

0 Answers  


Categories