Differentiate between vector and array list.


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

Post New Answer

More Core Java Interview Questions

How are observer and observable used in java programming?

0 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 basic syntax?

0 Answers  


Can we nested try statements in java?

0 Answers  


Explain the init method?

0 Answers  






Mention a package that is used for linked list class in java.

0 Answers  


What is difference between string and stringbuffer?

0 Answers  


Is this valid in java ? Can we instantiate interface in java?

0 Answers  


How do you declare a string variable?

0 Answers  


What is the difference between yielding and sleeping?

0 Answers  


Can a set contain duplicates?

0 Answers  


Which arithmetic operations can result in the throwing of an arithmeticexception?

0 Answers  


Categories