Question: JAVA QUESTION: Why I still get an error Editor does not contain a main type? //Exercise_13_HarvestTask.java import becker.robots.*; public class Exercise_13_HarvestTask extends Object { public

JAVA QUESTION: Why I still get an error "Editor does not contain a main type"?

//Exercise_13_HarvestTask.java

import becker.robots.*;

public class Exercise_13_HarvestTask extends Object

{

public static void main(String[] args)

{

City stLouis = new City("Exercise_13_Harvest.txt");

Exercise_13_Harvester mark = new Exercise_13_Harvester(stLouis, 1, 0, Direction.EAST, 0);

mark.move();

mark.harvestField();

mark.move();

for (int tries = 0; tries < 40; ++tries)

{

mark.putThing();

}

}

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!