Display right away

  • 2
  • Locked
  • Exercise
Programming isn't always difficult. Sometimes you need to do simple tasks. And the more similar tasks you have to do, the more you want to automate them. Let's implement one more method. Ultimately, objects without methods don't do anything. We'll pass the string s to the method, which will then display it on the screen.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Clarence L MackeyLevel 4 , Fresno
4 June, 08:16
Wow! It's beginning to make more and more sense.
Roopa karajagiLevel 3 , Kanchipuram
19 March, 00:33
while running I am facing an issue .it showing illegal expression can you please check //System.out.println("s"); <-- no need to use "" System.out.println(s); // this is the correct way
giridharLevel 3 , Mumbai
3 November 2018, 03:30
/* The comment was deleted */
RomanLevel 41
5 November 2018, 06:23
Posting the solution in the comments is prohibited.
unique sapkotaLevel 4 , Oxnard
31 October 2018, 16:29
public class Solution {
    public static void printString(String s){

    // write your code here

    public static void main(String[] args) {
        printString("Hello, Amigo!");
whats wrong w my code help any one
RomanLevel 41
1 November 2018, 06:53
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.