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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
Difference between Array and vector?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between Array and vector?
Answer
# 1
Array is a set of related data type and static where as 
vector is a growable array of objects and dynamic.
 
Is This Answer Correct ?    17 Yes 4 No
Janet
 
  Re: Difference between Array and vector?
Answer
# 2
Ans 1: Vector and ArrayList are growable or shrinkable 
where as Array is not.

Ans 2: Array is not a primitive data type in java but it is 
referenced data type.

Ans 3:Vector is implemented from list Interface
 
Is This Answer Correct ?    14 Yes 4 No
Nikhil Shah
 
 
 
  Re: Difference between Array and vector?
Answer
# 3
Array is not growable where as vector is growable
array can hold similar type of datatype elements...where as
vector holds different datatyped objects
 
Is This Answer Correct ?    13 Yes 4 No
Ravikiran(aptech Mumbai)
 
  Re: Difference between Array and vector?
Answer
# 4
array is static
vector is dynamic
 
Is This Answer Correct ?    2 Yes 0 No
Darshan
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Hi Friends.. can any one provide the real time example for methodoverloading and methodoverriding ......... Honeywell2
Can we have a abstract class withought any method? What is a purspose of this?  1
How the elements are organized in BorderLayout?  4
How many objects are created for a singleton class Ness-Technologies4
How can a class be accessed, If no access modifiers are declared?  2
what is the use of datasource in core java? Satyam2
finalize() method?  4
what is multithreading? Virtusa4
Which Math method is used to calculate the absolute value of a number? Accenture3
What happens when a main method is declared as private? Sun-Microsystems8
What error occurs if a try-catch-finally statement sequence does not have a catch clause?  2
Can an exception be rethrown? Wipro4
What are hot spots in Java programming?  1
what do you meant by Platform-Independent? Persistent4
What is an event?  1
how session will be expired? Infosys4
what is stringtolennizer with example? Symphony1
What are the operands of instanceof operator?  2
Difference between the paint() and repaint() methods?  1
How to find the length and capacity of a string buffer ?  2
 
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