I am a first term, freshman computer engineering student.
I was watching this HashMap tutorial earlier and was puzzled by the code in the 12th row.
fun.replace("bobbyJoe1996", "b3tt3rP@ssword!"));
doesn't in the slightest look like a printable thing to me. Why does the println()
method print the former value of the pair in this case?