what is difference between colection and collections?

Answer Posted / pavan kumar

collection is an interface to represent a group of individual object as a single entity.where as collections is an utility class to define several utility methods for collection implemented class objects

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What class of exceptions are generated by the java run-time system?

640


Why is a singleton bad?

560


What is hashing principle in java?

555


What types of index data structures can you have in java?

622


What is java and why do we need it? Explain

587






If you do not want your class to be inherited by any other class. What would you do?

566


What is an enumeration?

574


What is local declaration?

495


Why is the main method declared static?

588


Can we convert stringbuffer to string?

568


What is data structure in java?

543


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

625


What is charat ()?

531


Explain the difference between protected and default access.

520


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

588