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 is the use of keywords in java?
How can you add and remove nodes in jtree?
How many inner classes can a class have?
How do you reverse a list?
how to make a un-checked exception as a checked exception one.
What is * argv?
What is data abstraction? Elaborate with example?
how to make the double-tone class ? as we have singletone class..?
WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS?
What is difference between an object and a class?
What is ascii code?
How to add two numbers with out using Arithmetic , union operators in java....? But we can use bitwise operators... but how...?