What is the difference between a vector and an Array? (Java)
Answers were Sorted based on User's Feedback
Answer / guneetinder singh
A vector is a template class but not the array is.
A grow able array is called vector while array is of fixed size.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shiv
Array is not synchronized
Vector is synchronized class
By default array are type safe
To make a vector class type safe we need to implement
generics
Once Array size defined it will be fixed for the rest of
its life
Vector can grow dynamically
Array pass no instance of test with Collection interface
Vector pass as it extends List which is a sub class of
Collection.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ashu_deepu
u have asked the question in wrong segment.
vector has variable length and can store data of different type.
but array do not have these properties.
| Is This Answer Correct ? | 2 Yes | 1 No |
We are using Oracle apps with XML publisher.In that,we are facing some problems while giving a Footer in RTF Template.While giving a footer in RTF Template it is Visible in all the pages,but after the PDF is getiing generated,the Footer are Visible on alternate pages only (like on first page ,third page) and so on. Please provide the Solution for getting the Footer on all the pages.
Explain parameter file in oracle.
What is snapshot is too old? Give and example for better understand.
How to insert a new row into a table in oracle?
How to connect to a local oracle 10g xe server?
What is a shared pool?
What is a cursor variable?
when i run my query on yesterday it is fast but today it is slow why?
hai, I am searching job on Oracle10g and PL/sql,Unix... can any one send me resume format. an suggest me how to prepare.. ann books..
What is integrity and what is constraint??Explain with example
How to create a new tablespace in oracle?
What is a Schema ?