What is an Array?

Asked by Last Modified  

Follow 7
Answer

Please enter your answer

Javascript/Node.js/Mathematics- 8 years of experience in IT industry

An array is a collection of (same or different type of) items.In Java and C#, etc., the elements inside the array should be of the same type (e.g. ) while in languages like JavaScript and Python. The elements can be different types also(e.g. )
1 Comments

IT Professional (Online Job Support and Trainer)

Hi,An array is a collection of the same datatype. For Example :{1,2,3,6}.It's an integer datatype. So you can take a string as well.
Comments

Computer Programming Trainer & Instructor

An array is a contiguous memory location to storing Homogenous(Similar type) elements(values) from Zero indexing to Size-1. (Size- Array elements containing size).
Comments

Computer Science Tutor

Array is a collection of data elements of the same type referenced by a single name. for example int a={1,2,3}.
Comments

Experienced Trainer having 14 years of experience in IT industry

An Array contains multiple data of the same data type.i.e. int ar; means variable ar can contain five values whose data type will be of integer type.To access the values of the above-initialised array, you need to write like thisar ararararNote: index of the array always begins from 0
read more
An Array contains multiple data of the same data type.i.e. int ar[5]; means variable ar can contain five values whose data type will be of integer type.To access the values of the above-initialised array, you need to write like thisar[0]ar[1]ar[2]ar[3]ar[4]Note: index of the array always begins from 0 read less
Comments

Certified C/C++/Core & Advance Java/Python Trainer

Án Array can be seen as a memory area which can hold multiple data items of similar data types. That memory area is referred by a single name. Individual data items within the array are referred using array name and index/subscript
Comments

Gateway2IT driven trainings by Industry expert working professionals

Array is a collection of elements having the same data type. Along with this, it has a contigous memory allocation.
Comments

UI Developer, UI Designer, Math Player

In general, Array is a collection of values. But having the same data type of benefits is not identical in all languages. In Java, c, c++ etc languages it is collection of same data types. In a language like JavaScript, it is not strict about the data type. I mean one array can have numbers, strings,...
read more
In general, Array is a collection of values. But having the same data type of benefits is not identical in all languages.In Java, c, c++ etc languages it is collection of same data types.In a language like JavaScript, it is not strict about the data type. I mean one array canhave numbers, strings, objects in it. read less
Comments

Tutor

Array is a collection of similar data types.
Comments

IT Professional Trainer with 4 years of experience in Computer and IT Engineering .

An array is a collection of elements having the same data type. Array index starts from '0' means, for example, if we have ten blocks, then the range is from 0 to 9.
Comments

View 11 more Answers

Related Questions

How to become instructor???
Good teachers know how to bring out the best in their students, but it’s not magic and it’s not just about popularity. Here are some of the “tricks” good teachers use: Encourage high expectations Set...
Jimmy
what are the charges for c language
6k/month and will finish in 2 month.
Kawalpreet
Which language has the best future prospects: Python, Java, or JavaScript?
According to me, "Python" is the programming language having the best future prospect considering the current industry trend. Reason: Python is extensively used in advanced technologies such as Machine...
Atharva
0 0
5
Which language is best to learn for college freshers ?
Please tell me which class you read then I can suggest you.
Arjun
give me best coaching center in karnal of bca if anyone person who will give me best guideces with studies
you can search by google also. but best will be to touch your senior for best answer.
Rajattyagi

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Tips for Entry Level Java Job Seeker
3 steps you should take to make a break as a Java developer: Step 1: Invest in improving your job hunting skills encompassing interviewing, networking, and resume writing skills. Step 2: Keep applying...
A

Akshay Shende

1 0
0

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
0

Spring - Dependency Injection (DI)
Spring - Dependency Injection (DI) DI is a framework which provides loose coupling in code. Here loose coupling means no hard coding of the object. Instead of hard coding, we will be injecting these object...

Simple Algorithms - Fibonacci, Finding GCD & Finding LCM.
import java.util.Scanner; //0,1,1,2,3,5,8,13,21,34... //fun(n)=fun(n-1)+fun(n-2) where n>=2 /*fib(9)=fib(8)+fib(7) =fib(7)+fib(6)+fib(6)+fib(5) =fib(6)+fib(5)+fib(5)+fib(4)+fib(5)+fib(4)+fib(4)+fib(3) */ public...

Finding a Majority Element
Problem Description Task. The goal in this code problem is to check whether an input sequence contains a majority element. Input Format. The first line contains an integer, the next one contains a sequence...

Recommended Articles

Appearing for exams could be stressful for students. Even though they might have prepared well, they could suffer from anxiety, tension etc. These are not good for their health and mind. However, following a few exam preparation tips can save them from all these and help them to score good marks. Let’s find out all...

Read full article >

Learning for every child starts from a very young age. While the formal methods include school curriculums and private lessons, the informal methods include dancing, music, drawing, and various fun-filling activities. Playing games and practising these types of activities helps the children get out of boredom and...

Read full article >

Once over with the tenth board exams, a heavy percentage of students remain confused between the three academic streams they have to choose from - science, arts or commerce. Some are confident enough to take a call on this much in advance. But there is no worry if as a student you take time to make choice between - science,...

Read full article >

While schools provide formal education to the children, the home is where they start learning about things informally. Parents think that schools will take the initiative to educate their children. Well, this is partially true, as parents also play an essential role in bringing up their child. For the development of particular...

Read full article >

Looking for BCA Tuition ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you