corejava第10版

This commit is contained in:
deyou committed 2019-05-22 19:31:49 +08:00
1 parent 2021c3c227
commit 6165543dd3
1088 files changed
+94411

No files matched your search

@@ -0,0 +1,16 @@
/**
* @version 1.10 1997-07-01
* @author Cay Horstmann
*/
class Printf1Test
{
public static void main(String[] args)
{
int count = Printf1.print(8, 4, 3.14);
count += Printf1.print(8, 4, count);
System.out.println();
for (int i = 0; i < count; i++)
System.out.print("-");
System.out.println();
}
}