|
INTERVIEW QUESTIONS
J2EE
JAVA
DETAILS
Question: What is Collection?
Answer: • Framework which provides classes and interfaces for holding a group of objects.
• Like Arrays but has more features in terms of flexibility and maintainabiliy
• Consistent, well-defined API for maintaining groups of objects in containers
• A set of interfaces and classes to represent containers that also include support for manipulation operations (i.e. adding objects,removing objects, etc.)
• The framework also includes built-in methods that operate on containers such as sorting, searching,etc.
• Somewhat Analogous to the STL framework in C++
Submitted by Arun Pasuparthi ([email protected])
|
|
|
Category |
Java Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 10152 users |
Added on |
5/21/2011 |
Views |
72319 |
Rate it! |
|
|
Question:
What is Collection?
Answer:
• Framework which provides classes and interfaces for holding a group of objects.
• Like Arrays but has more features in terms of flexibility and maintainabiliy
• Consistent, well-defined API for maintaining groups of objects in containers
• A set of interfaces and classes to represent containers that also include support for manipulation operations (i.e. adding objects,removing objects, etc.)
• The framework also includes built-in methods that operate on containers such as sorting, searching,etc.
• Somewhat Analogous to the STL framework in C++
Submitted by Arun Pasuparthi ([email protected]) Source: CoolInterview.com
A collection is an object that represent a group of objects such as VECTORS Source: CoolInterview.com
Answered by: sonu | Date:
| Contact sonu
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is JavaMail?
|
View Answer
|
|
What is Serialization and Deserialization?
|
View Answer
|
|
What is the life cycle of an applet?
|
View Answer
|
|
What is Reflection. Uses of Reflection?
|
View Answer
|
|
What is the purpose of finalisation?
|
View Answer
|
|
What is the functionality of try, catch and finally blocks?
|
View Answer
|
|
What is the difference between Abstract class and Interface?
|
View Answer
|
|
What is the difference between overloading and overriding?
|
View Answer
|
|
What is the difference between Hashmap and Hashtable?
|
View Answer
|
|
What is the difference between Vector, Array and Arraylist?
|
View Answer
|
|
What is the difference between final, finally and finalized?
|
View Answer
|
|
What is the difference between String and StringBuffer?
|
View Answer
|
|
What is the difference between exception and error?
|
View Answer
|
|
What is the difference between List, Set and Map?
|
View Answer
|
|
What is the difference between Observable and Observer?
|
View Answer
|
|
What is the difference between Eventlistener and Eventadapter?
|
View Answer
|
|
What is the difference between Classpath and Import?
|
View Answer
|
|
What is the difference between Iterator and Enumeration?
|
View Answer
|
|
What is the difference between Comparable and Comparator?
|
View Answer
|
|
What is the difference between applet and application?
|
View Answer
|