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 syntax and characteristics of a lambda expression?
Distinguish method overloading and method overriding
Explain how to convert any java object into byte array.
What is static synchronization?
Does unicode support all languages?
what are class,constructor and primitive data types?
If we don’t want some of the fields not to serialize how to do that?
Can we declare a constructor as final?
What is the generic function?
How do you identify if jvm is 32-bit or 64-bit from java program?
List implementations of list interface?
What is the use of string and stringbuffer?