mercredi 25 juin 2014

Incompatible types: unexpected return value


Vote count:

0




The code that is saying is



public static void main(String[] args)
{
FishMarket fm = new FishMarket();
fm.sellFish();
fm.sellFish();
fm.sellFish();
fm.printReport();
}


Sellfish method basically gets the amount of pounds to buy While the printReport method prints a report of the fish and sales


Ive tried adding multiple different returns, but I get nothing. Is my other code needed to asses the problem?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire