/**
* Returns the busiest hour of the day.
*/
public int busiestHour()
{
int theBusiestHour = 0;
// The hourCounts array has length = 24.
for(int hour...
Type: Posts; User: bihlas
/**
* Returns the busiest hour of the day.
*/
public int busiestHour()
{
int theBusiestHour = 0;
// The hourCounts array has length = 24.
for(int hour...
Going through all the elements of the array I am using a for loop, getting each count every time I loop through the array. how to specify in the loop body which from all the counts is the biggest in...
I am trying to write a method that returns the busiest hour in a logAnalyzer class that read web server data and analyze hourly access patterns and stores them in an array. My problem is, in order...