answersLogoWhite

0

Object array is called universal array because it can store multiple variables of the same type

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How delete an array of object within the object in C?

First locate the position of an array by search after than use a delete function to delete an array


Explain linear search with an example?

Sequential search of an object with in an array of objects is called as linear search.


How will you find the location of an element of an array?

Basically, &array[i]; That is, the memory location for an array object with index i. Or, you can do: (array + i);


How do you use character in c plus plus?

If you are referring to the character object 'char,' then here are a couple of uses:To create an object, use this:char object = 'a';To create an array of chars, use this:char array[10];To dynamically allocate an array of chars, use this:char array = new char[10];(Don't forget to delete the object with 'delete [] array')


What is an array in java perspective?

In java,an array is a wrapper class.An array is an object and it gets room in heap.Array can store a collection of data's of same datatype.It can be used to store integers,strings even objects..its collections of data's.Wheather the array stores primitive data,s or objects in it an array s always an object. int numbers[] = new int[10]; this array is of size 10 which can hold 10 int values.This array numbers stores primitive data type but the array number is an object Each item in an array is called an element, and each element is accessed by its numerical index. As shown in the above illustration, numbering begins with 0. The 9th element, for example, would therefore be accessed at index 8.


What is the universal force of the attraction of the mass of an object is called?

The universal force responsible for the attraction of mass is called gravity. It is a fundamental force of nature that causes objects with mass to be drawn towards each other.


What is the difference between array in c and c sharp language?

The syntax to access a particular element in an array are the same in both languages: For example: assume array is an array of 10 int(egers): to get the first element: array[0] (both are 0 based indexing] int i = 0; while (i < array.Length) { // do something to array[i] } int i = 0; int length = sizeof(array) / sizeof(int); while (i < length) { // do something to array[i] } However, an array in C# is also enumerable (C does not have this feature) in C#, you may loop thru the array by: foreach (int number in array) { // do something to array[i] } Plus, C# is an Object-Oriented Language, so that an array may be of some object types, not just those primitiives data types in C: object[] objectArray; // any object derived from Object may be placed into objectArray, not just struct. In another variation, an array may be of Delegate type in C#(sort of like function pointers in C)


What are Array variables also called as?

Elements of the array.


What is The number of elements in an array is called?

the length of the array


Is string an object?

No. A string is, by definition, a character array.


Is string is an object?

No. A string is, by definition, a character array.


What is javascript array object?

An object in JavaScript is anything that holds information. Arrays, strings, numbers and booleans are all objects. You can then use methods and functions to manipulate those objects. If you want to know more about objects, see the related links.