码迷,mamicode.com
首页 > 编程语言 > 详细

关于java的print()

时间:2017-01-25 21:15:57      阅读:441      评论:0      收藏:0      [点我收藏+]

标签:参数   bsp   nts   java   方法   ati   打印   static   sys   

print方法是类PrintStream的方法成员,而System类有一个static的PrintStream类型的属性成员,名叫out,我们平时写的System.out.print("helloworld")就是在通过out成员调用PrintStream的方法;

 

而PrintStream的构造器,里面也都有参数OutputStream out,我需要弄懂在打印的过程中,PrintStream是如何被构造的。

关于java的print()

标签:参数   bsp   nts   java   方法   ati   打印   static   sys   

原文地址:http://www.cnblogs.com/alden-it/p/6349953.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!