import java.util.*;
/**
* Write a description of class StockControl here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class StockControl
Type: Posts; User: Imeri0n
import java.util.*;
/**
* Write a description of class StockControl here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class StockControl
Any ideas how to solve problem?
made it like this:
public int highestTempRecorded()
{
int highestTemp = samples[0];
int highestTempRecorded = 0;
for(int index = 1; index < samples.length; index++) {...
cannot find symbol - method getSampleValue()
Thanks, this problem is solved!)
I got next error here:
public int highestTempRecorded()
{
int highest = 0;
for(int index = 0; index < samples.size(); index++) {
...
solved, thanks! :))
next error appearing here
public int highestTempRecorded()
{
int highest = 0;
for(int index = 0; index < samples.size(); index++) {
...
Here is the code:
import java.util.ArrayList;
/**
* A class to model an Analyser
*
* @author (XXXX)
Here is the code:
import java.util.ArrayList;
/**
* A class to model an Analyser
*
* @author (XXXX)
* @version (1.0)
*/
Part 1. The basic classes and addAddress method
Create a class called Address that has two fields representing the name and the email address.
Write a constructor for this class.
Create a class...