ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is difference between colection and collections?
 Question Submitted By :: Mamidala
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is difference between colection and collections?
Answer
# 1
collection is a interface impplemented by all other 
interfaces like List,set..where as collections is a class.
 
Is This Answer Correct ?    15 Yes 1 No
Harikrishna
 
  Re: what is difference between colection and collections?
Answer
# 2
collection is a interface impplemented by all other 
interfaces like List,set..where as collections is not a 
class.But its a Framework.Harikrishna if u have any 
confeusion then go thru with sun java tutorial
 
Is This Answer Correct ?    3 Yes 14 No
Sandeep Tyagi
 
 
 
  Re: what is difference between colection and collections?
Answer
# 3
Harikrishna is right about Collections class...Collections
class is a member of Java Collections Framework..  Sandeep
Tyagi u can find that in sun java tutorial..
 
Is This Answer Correct ?    1 Yes 0 No
Johnj
 
  Re: what is difference between colection and collections?
Answer
# 4
what is the difference between collection class vs
collections interface ? not as colection and collections

A collection (sometimes called a container) is an object
that groups multiple elements into a single unit.
Collections are used to store, retrieve and manipulate data,
and to transmit data from one method to another. Collections
typically represent data items that form a natural group,
like an order (a collection of order lines), a mail folder
(a collection of messages), or a telephone directory (a
collection of name/phone-number pairs).
 
Is This Answer Correct ?    1 Yes 1 No
Manoj
 
  Re: what is difference between colection and collections?
Answer
# 5
Collection is the root interface in collection
hierarchy,groups multiple elements into a single unit, it
allows duplicate & non-duplicate elements  which may be
ordered or unordered.
Collections is a class which extends Object class & it
consists exclusively static methods .It is a member of Java
Collections Framework.Collections are used to store,
retrieve, manipulate, and communicate aggregate data
 
Is This Answer Correct ?    7 Yes 1 No
T.vijay Nath
 
  Re: what is difference between colection and collections?
Answer
# 6
Collection is an interface which contains methods to access
the objects in a collection
 
Is This Answer Correct ?    1 Yes 0 No
Ravikiran
 
  Re: what is difference between colection and collections?
Answer
# 7
Collection is an interface which can be implemented the 
List, Set,Sorted Set,and Queue. Where as Collections is an 
utility class which contain the utility methods such as 
sorting etc.
 
Is This Answer Correct ?    1 Yes 0 No
Appu
 
  Re: what is difference between colection and collections?
Answer
# 8
Collection is the interface. which can be implemented
List,set,Queue.This interface contain only instance methods.

Collection is the class .This class contain utility methods
such as all algorithm oriented methods.This class contain
only static methods.
 
Is This Answer Correct ?    1 Yes 0 No
Srinu
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is polymorphism?  2
what is the difference between a java object reference and c++ pointer?  3
what is sendredirect? TCS3
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }  3
Does a class inherit the constructor of its super class?if it does, how can you hide that constructor? if it doesnot how can you call it from the sub class?  1
explain System.out.println() CTS7
what is use of session tracking ?with example? Photon1
What is the default initialized value of String type variable?  3
What happens when you assigned a 'double' value to a 'String'?  6
In Inheritence concept, i have a static method in super class and i am inheriting that class to one sub class.in that case the static method is inherited to sub class or not???? Accenture8
How many methods does cloneable interface contains?  2
what is the form of storage space in java?  5
Can an object be garbage collected while it is still reachable?  2
what is the life cycle of jsp? Photon2
can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}  4
How to sort the elements in HashMap Ness-Technologies3
Why is prepared Statement, Callable Statement used for? What is the need of Batch updates? Logica-CMG1
JSP is by default thread safe or not? what is the meaning of isThreadSafe="true" and isThreadSafe="false". Explain it? Thanks, Seenu Huawei3
What is hash method?  1
What is the difference between array and arraylist? what is the difference between arraylist and linkedlist? EDS4
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com