What is the use of collections in java? How it is
implemented in real time applications?
Answer Posted / srikanth reddy
they are used to store elements in java like arrays
ArrayList al=new ArrayList();
al.add("sri");
al.add(new Integer(99);
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is bytecode verifier?
How many types of voids are there?
Can constructor be synchronized?
What are the special characters?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Is java a super set of javascript?
What is thread life cycle?
What is string builder in java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Is arraylist zero based?
What value is a variable of the string type automatically initialized?
What is thread start?
What is a local, member and a class variable?
What is the equal sign?
What is nan inf?