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
What is Negative testing?
Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad
Hi..Am done with my Masters recently..Am planning to learn TIBCO.. could anyone suggest me about how the job market will be and Is there any course necessary to learn prior to Tibco..i mean any prerequisite. I dnt have any knowledge on PL/SQL thats it... Plz suggest me in a best way...
what is woransient key word? how it is used in java
I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...
what are the activities you enjoy most and How do you see these Developing in the Future with Reference to in your work life and in your personal life
diffrence between oracle apps , .NET , SAP
what is class module in vb6? what it's use? with example..
What is the meaning of client-server application. The purpose of Client-Server Application. with description.
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.
what is web service in java? have u use before.
Why did you ever become involved in QA/testing?
Can we write a method in JSP.If so how?
THERE ARE 4 SOURCE FILES WHICH CONTAINS SAME METADATA CREATE A TARGET THAT SHOULD DISPLAY THE FILE NAME ALONG WITH THE RECORD PLEASE SEND THE ANSWERFOR THIS QUESTION WITH MAPPING
how to stop execution of step 3 in a job mainframe