What would I need instead of "" to replace all alphabetical letters with * ?
public static void main(String[] args) {
String s = "Tere, TULNUKAS, 1234!";
String t = asenda(s); // "****, ********, 12345!" <---- example
}
public static String asenda(String s) {
return s.replaceAll("", "*");
}
Thanks!