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 is replacefirst in java?

1088


If a method is declared as protected, where may the method be accessed in java programming?

979


What is the purpose of the file class in java programming?

1011


What are the advantages of java?

983


How do you differentiate abstract class from interface?

953


What is a class in java?

1001


Is set thread safe java?

915


What is a hashmap used for?

1236


What is the core java?

944


Why is method overloading not possible by changing the return type in java?

990


Can final class have constructor?

912


What is a void method?

918


how is final different from finally and finalize in java?

1044


What is binary tree in java?

1046


What is thread safe singleton?

941