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

How to find the given number is a prime number or not by getting input from the user

1027


What type of language is java?

938


What is data string?

882


What is difference between iterator access and index access?

1012


Is heap stored in ram?

903


Why java uses the concept of the string literal?

1003


Is there any tag in htm to upload and download files?

996


Why do we need strings in java?

939


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

982


What does function identity () do?

915


Justify your answer that you can't define a method inside another method in java, if you can then how?

1078


What’s the difference between constructors and other methods?

933


what is the final keyword denotes in java?

1021


How does sublist works in java?

899


What is a java developer salary?

915