Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What do you mean by an array ? explain with an example

Answer Posted / shanu zabeen

Array is a collection of elements of similar data type and
these elements are stored in continuous memory locations.
int a[5] in c
creates an array of size 5 in continuos memory locations
whose indices will be 0,1,2,3,4.
in java A array in Java is like a fixed number of slots,
each slot holds a item, and all of them the same type.
int[] A;//array declaration in java
A=new int[10]; // 10 is the number of items
// now A is declared, and have assigned a value (initialized).

Is This Answer Correct ?    67 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one give an example (Source Code) on virtual function implemetation in Java?

1966


How does the type system works when there is interoperability between a COM and .Net, i mean what exactly happens there

2020


hai i am prasanna.I am MCA 2009 fresher.tell me about certifications.which certification helps me to improve my carrier and to get a technically oriented job ,which certification helps to get job faster.

2372


what does mean and stack mean in genral programming?

1857


How to get the index of the clicked field in reports in ABAP?

1641


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

1038


Write a program to show polymorphism.

1075


Write a program to find factorial of a number using functions

1650


what is web configuration file

2016


Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number

1122


Plz sent me in .net 2.0 interview Question & answers?

2090


what is the difference between read the data from table and infotype

2489


what is the difference between Windows application and Unix application?

2598


what is the current salary package in India for a lamp programmer

2288


in network security,how we identified threat?some one say we found threat according to it's signature,but how we get signature or pattern of the virus?

1997