Hey guys, I'm kinda stuck on this one. I've tried multiple things but every time I'm getting the same error.
Could you have a look at it and give me some hints on a proper approach to this?
package pl.codegym.task.task06.task0617;
/*
Notes na nowe idee
*/
public class Solution {
public static void main(String[] args) {
printIdea(new Idea());
}
//tutaj wpisz swój kod
public static class Idea {
public String getOpis() {
String word = "word";
return word;
}
public static void printIdea(Idea idea) {
Idea.getOpis();
}
}
}