Help the world stop coronavirus! Stay home!

Prev Next

Java / Strings

How to perform String interpolation?

Java 5 or higher has String.format() method which supports String interpolation.

String completeString += String.format("str1=%s;str2=%s;str3=%s;str4=%s;", str1, str2, str3, str4);

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Using String

Comments & Discussions