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

Answers were Sorted based on User's Feedback



how to accept integer array in java..

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 to accept integer array in java..

Answer / pavan kumar

int [] arrayreferencename=new int[size]

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Compare Mutex and Semaphore in java.

0 Answers   Ciena,


What are the restrictions imposed on method overriding?

0 Answers  


What is Session and cookies?Explain in detail with an example?

4 Answers   Accenture, CTS,


For class CFoo { }; what default methods will the compiler generate for you>?

0 Answers   Amazon,


Why is java not 100% pure oops?

0 Answers  


Do extraneous variables affect validity?

0 Answers  


what is the diff b/w arraylist and vector?

6 Answers   Code Genesis, Genesis, Sprintine Labs,


What is meant by 'Class access modifiers'?

0 Answers   HCL,


Can we serialize singleton class?

0 Answers  


What is the definition of tree ?

0 Answers   Amazon,


Why convert an applet to an application?

0 Answers  


What is data structure in java?

0 Answers  


Categories