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 |
How can we create a object of a class without using new operator.
Can we restart a thread already started in java?
which method throws exception of type Throwable
What is keyword in oop?
Is boolean a wrapper class in java?
Write a program to reverse a number in java?
What is file class and what is its purpose?
What is an abstract method in java programming?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Why is inheritance used in java?
what is the diff b/w arraylist and vector?
6 Answers Code Genesis, Genesis, Sprintine Labs,
Why there are some null interface in java? What does it mean?