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

Is java same as core java?

1049


What is the difference between Grid and Gridbaglayout?

1161


When super keyword is used?

978


How much is a java license?

877


What is static keyword in java?

966


What is the difference between access specifiers and access modifiers in java?

1113


What is meant by collection in java?

1019


What are the differences between c++ and java?

1084


What does system.gc() and runtime.gc() methods do?

1003


What are different types of multitasking?

917


Why you should not use singleton?

929


Difference between abstract and concrete class ?

1094


What are triggers in DB? Explain their types. How do they work?

1046


How big is a gigabyte?

1000


Explain about the security aspect of java?

931