The problem is the following: Create a class called MyMethods, which must contain 2 methods, one of type void and another that returns value, the latter must have a parameter. The first method should print the message "Hello Happy day" and the second method should be sent as an argument the message "Thank you very much". You must invoke each method from the class that has the Main method.
I have developed a bit but I no longer understood I only did this: I do not know if it's haci
public void mensaje1()
{
System.out.println("hola feli dia");
public String mensaje2(String cadena)
{
return cadena;
}
}
class demomimetodo{
public static main(String args
public static void main (String agrs[])
}