public void print(String message) { System.out.println(message); } // Call it like this print(String);