开发者

Java's equivalence to Python's "Got value: %s" % variable?

Java's equivalence to Python's "Got value: %开发者_运维百科s" % variable?


String.format("Got value: %s", variable);


System.out.format("%s", aString)

See Format and all its various incarnations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜