Other languages like Python, JavaScript, and C# have simple string formatting. Does Java have it's own version of this? I did a Google search and couldn't find anything, but I'm hoping it's not the case.
For those who don't understand the question, here's an example of the other languages.
Python:
f'Hello {name}!
JavaScript:
`Hello ${name}!`
C#:
$"Hello {name}!"
name
is a variable. And the term that you're looking for is interpolation. You should mention that in your question as well.