Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to accept integer array in java

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of relation?

1045


What does a method signature consist of?

985


Is there any limitation of using inheritance?

1091


explain what is transient variable in java?

1147


What is the difference between Array and Hash Table?

1033


What does this () mean in constructor chaining concept?

1125


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

1134


What do you understand by abstract classes?

1077


What is difference between char array and string?

1117


What is stack explain?

1006


What is a function easy definition?

1013


What is the symbol for average?

1030


How can you traverse a linked list in java?

1129


Explain jdk, jre and jvm?

976


What is the difference between an object-oriented programming language and object-based programming language?

1012