Hi!
The error: Non-static method getName cannot be referenced from a static context. (The same error for all the other getters as well)
I can't find whats static here Any help would be highly appreciated!
You need to use a reference to an instance of the recipe class to use its non-static methods.
recipe.getName() is how you call a static method: ClassName.staticMethodName()
Note: It is recommended that class names begin with an upperCase letter: Recipe
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
SKIP - a book about connecting industrious people with elderly land owners