Search:

Type: Posts; User: bigrich08

Search: Search took 0.11 seconds.

  1. Need assistance with creating CONTROL STRUCTURE for a recipe program

    Hello please help with creating a user-defined method with control structure that calculates the cost of the recipe. I also need a test file to provide sample output. Any assistance would be greatly...
  2. Re: Please help with correcting error "NON STATIC METHOD CANNOT BE CALLED FROM STATIC CONTEXT"

    ahh ok I changed it to static and that removed the error message there but then it placed that same error message on this part of the code in the Recipe class now which is referring to the...
  3. Re: Please help with correcting error "NON STATIC METHOD CANNOT BE CALLED FROM STATIC CONTEXT"

    its in my recipe class See Below




    public class Recipe {

    private String recipeName;
    private int servings;
    private List<Ingredient> recipeIngredients;
  4. Re: Please help with correcting error "NON STATIC METHOD CANNOT BE CALLED FROM STATIC CONTEXT"

    Thank you I tried to post my code initially but it gave me an error so I ended up having to attach it so in this case its referencing a method called addNewRecipe in another class called Recipe. I...
  5. Please help with correcting error "NON STATIC METHOD CANNOT BE CALLED FROM STATIC CONTEXT"

    I have a project to submit and need help correcting the errors in my code. The error message states "non static method cannot be called from a static context." I have no idea how to correct this...
Results 1 to 5 of 5