printf有关问题拙计
printf问题拙计Java codelong strSystem.currentTimeMillis()...long endSystem.currentTimeMillis()S
printf问题拙计
Java codelong str=System.currentTimeMillis(); ... long end=System.currentTimeMillis(); System.out.printf("run time is %f",(end-str));
提示错误:
[解决办法]System.out.printf("run time is %f",(end-str));
改成%s
[解决办法]