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 |
Describe the term diamond problem.
What is the purpose of declaring a variable as final?
what is the difference b/w design pattern and architecture
which one is performance wise advantageious from List,Set,Map?
What happens if an exception is throws from an object's constructor?
What is string variable?
why java is platform independent?
Explain a situation where finally block will not be executed?
java can provide security ,how can provide?
8 Answers Aspire, BNP Paribas, Genpact, IBM,
What are computer functions?
What is the final field modifier?
Is an array a vector?