[Solved] Java, method not applicable for arguments


change method declaration to

private static void mysecondclass(String string, String string2, String string3){
System.out.println(string+" "+string2+" "+string3);
}

a circular bracket is missing in your code and also remove the semicolon after that.

6

solved Java, method not applicable for arguments