What is an array and a vector? How they different from each
other?

Answer Posted / prabir kumar

arrays have elements of same datatypes, but vector can have
elements of any types.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is javac used for?

518


What do you understand by an io stream?

588


Is it possible to specify multiple jndi names when deploying an ejb?

561


What does business logic mean?

510


What does a boolean method return?

634






What modifiers may be used with a top-level class?

578


Is array a class?

523


What is the main use of generics in java?

512


What is string pool?

629


What is java virtual machine and how it is considered in context of java’s platform independent feature?

657


What’s the difference between unit, integration and functional testing?

619


How many return statement are allowed in a function?

461


What is static import?

604


What are the restrictions that are applied to the java static methods?

533


Does constructor creates the object ?

588