Tag: 输出格式

Java printff字符串只输出格式

如何使用printf格式化输出。 假设我想在格式化程序中打印以下内容。 testing testing testing testing testingggg testingggg testingggg testingggg 我不问有关使用“\ t”,我问的是printf样式格式? 如果有人可以给我建议和例子。 或者可以与示例链接。 我可以做到符合我的需要。