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
Describe the syntax of multiple inheritance? When do we use such an inheritance?
Can we write a class without main method in java?
What is the Difference between Final Class && Abstract Class?
When do we use hashset over treeset?
Can a class be declared as protected?
Can we cast any other type to boolean type with type casting?
What is an immutable object? How do you create one in java?
What is flush () in java?
What should I import for arraylist in java?
Can we override static methods in java?
What is exception hierarchy in java?
What is the default value of local and global variables?
What is a dynamic array java?
What is compareto () in java?
Does java isempty check for null?