Good day to all! Friends, please help me understand the condition of the problem. Here is the condition: "Implement the method
print
. The method must display the passed string 4 times. Each time on a new line." I can't figure out what to do because I don't understand what "implement a method" means. In all the lectures up to this assignment, nothing about "implement the method" was said. And I didn't know anything about Java before these lectures. So the phrase "implement the method" means nothing to me at all. Be so kind as to explain in human language what this strange "implement method" means . Because without understanding this, I won't be able to figure out how to solve the whole problem and subsequently all similar problems... :here is the task itself: package com.codegym.test.level02.lesson01.task01; / Method Implementation Implement the print method. The method should display the passed string 4 times. Each time from a new line. /
public class Solution
{ public static void main(String[] args)
{
print("Java easy to learn!");
}
public static void print(String s)
{
//write your code here
}
}
GO TO FULL VERSION