how to accept integer array in java
Answers were Sorted based on User's Feedback
Answer / saluru srinivasa rao
int []anarray=new int[10];
for(int i=0;i<=anarray.length;i++)
{
anarray[i]=i;
}
| Is This Answer Correct ? | 4 Yes | 0 No |
What do you understand by the term singleton?
How to set the Heap size in Java ?
What is a compilation unit?
What is generic type?
What do you mean by append?
can any one tell me when do u go for inheritance and polymorphism
What do you mean by formatting?
What is meant by method?
What is meant by event handling in SAX parser?
What do you mean by scope of variable?
How many Java environments are there?
1 Answers Phantom Technologies,
What is arrays sort in java?