using template strings in java code example
Example: using template strings in java
String template = "status is %s, data key is %s"
String result = String.format(template, status, key);
String template = "status is %s, data key is %s"
String result = String.format(template, status, key);