For line 23, it says this: "non-static method getDescription() cannot be referenced from a static context."
package com.codegym.task.task06.task0617;
/*
Notepad for new ideas
*/
public class Solution {
public static void main(String[] args) {
printIdea(new Idea());
}
//write your code here
public static class Idea {
String a = "Full Speed Ahead!";
public String getDescription() {
return a;
}
}
public static void printIdea(Idea idea){
System.out.println(Idea.getDescription());
}
}