Difference between vector and arraylist.


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

Post New Answer

More Core Java Interview Questions

What is jvm? How its run?

0 Answers  


I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }

4 Answers   Cap Gemini,


What is java life cycle?

0 Answers  


Explain aggregation in java?

0 Answers  


What is the use of singleton class?

0 Answers  






Explain how to convert any java object into byte array.

0 Answers  


suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?

3 Answers  


what is difference between prepare stetement and callable starement with example?

1 Answers   CMC,


When do we use hashset over treeset?

0 Answers  


How will you load a specific locale?

0 Answers  


What is purpose of find feature?

0 Answers  


What is the default execution method in java?

0 Answers  


Categories