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 |
Compare Mutex and Semaphore in java.
What are the restrictions imposed on method overriding?
What is Session and cookies?Explain in detail with an example?
For class CFoo { }; what default methods will the compiler generate for you>?
Why is java not 100% pure oops?
Do extraneous variables affect validity?
what is the diff b/w arraylist and vector?
6 Answers Code Genesis, Genesis, Sprintine Labs,
What is meant by 'Class access modifiers'?
Can we serialize singleton class?
What is the definition of tree ?
Why convert an applet to an application?
What is data structure in java?