Notepad for new ideas

  • 4
  • Locked
  • Homework
Great ideas need to be written down or they can be forgotten very quickly. To help with this, in the Solution class, create a static Idea class. Give it a public String getDescription() method that returns any non-empty string. Then create a static public void printIdea(Idea idea) method that displays a description of the idea.
You can't complete this task, because you're not signed in.
Comments(4)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
ZserboLevel 14 , Budapest
21 June, 17:22
I don't get this exercise. How should the getDescription() method return a description if there is no input?
Johnson JoseLevel 10 , Edinburgh
17 May, 06:58
The Idea class is a static class. What is the point of creating objects new Idea() ? I don't understand. How is this different from creating objects of a non-static class?
ThomasLevel 9
7 March, 12:58
Can someone please explain what this exercise is asking? I don't understand what it is asking you to do, and also please help me to understand the concepts for this exercise. Thank you
Muhammad VahhaajLevel 19 , Rawalpindi
15 June, 07:58
it says to make one static class, one method of that class and one static method of Solution class This exercise is intended to teach you the flow between static and non static classes. And that static methods and variable can only access static methods and variables