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...

for(i=0;i<100;i++)
{
int i=method();//method returns no's from 1 to 10;


/*
insert some stmts which can give output like no.of times
numbers(1-10) returned. (for example if it returns 2 then i
want output how many times 2 returned) like that i want
output for no's 1 - 10 how many times each no returned.

*/

}

Answer Posted / $ourav

static int []arr=new int[10];
arr[i]++;

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can private members of a base class are inheritable justify?

870


How many bits is a 64 bit byte?

1000


What is the function of java?

950


How do we access static members in java?

1058


What is the exact difference in between unicast and multicast object? Where we will use?

938


How many types of exception can occur in a java program?

925


What is supplier in java?

954


Are generics important java?

921


How can we create a synchronized collection from given collection?

1037


Difference between overriding and overloading in java?

1008


Can you access the private method from outside the class?

906


Can we call the constructor of a class more than once for an object?

1041


What is the char data type?

940


What is formatted output in java?

896


What is a module function?

1024