What is the difference between array list and vector in java?
No Answer is Posted For this Question
Be the First to Post Answer
How can we find size of the object ?
Differentiate jar and war files?
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()); } }
Where is const variable stored?
Is 0 true or false in java?
What is array length?
What is a dynamic array java?
Describe the various concepts related to object oriented programming (oop).
Why java is call by value?
What is difference between jdk,jre and jvm?
How will you serialize a singleton class without violating singleton pattern?
difference between jsp and java script?