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

I m new to the dbms. Recently i came across words clustered indexes & nonclustered indexes but i dont know what is this all about & whats the difference between them.. So please help me!!!!!!!!

2023


what is woransient key word? how it is used in java

2440


what is the difference between Windows application and Unix application?

2694


Find out the list of authorization objects which contains activity as a field? Thanks in advance.

2254


Explain polymorphism. Provide an example.

1076


Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.

1142


how many types of operating system are avaliable?

2404


can u send some model papers how computer awareness questions are asked in goverment jobs(oriental insurance)to my mail id me.priyankapadma@rediff.com

2450


Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)

710


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

2281


what will we require to build project with the help of oracle

1900


difference between mantis and other tools?

2190


Hello...has anyone interviewed with Information Management Services(IMS)located in Silver Spring MD??If yes,what can you share about the programming test and the analytical test?

2027


Can we write a method in JSP.If so how?

2075


Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik

2410