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 ur porject Architecture? If anyone ask what i have to specify here..
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..
HOW TO FIND NUMBER OF TWOS IN N!(N FACTORIAL)??
what is delimiter in sas ?
what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!
What's the difference b/w Table & Templete in Smartform?
which book we learned this mantis? how many version are realsed this mantis upto now?
diffrence between oracle apps , .NET , SAP
You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?
how to convert infix expression to prefix expression?
what is the work of 1tier,2tier,&ntier? Plz Explain it!
is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...
what are the missinschema properties and should we pass primary key in select command
Diff between IF and where ?
sample code for data transfer between two r/2 systems and r/3 systems?