Java编程宝典Thinking in Java第四版(4th)原书章节后习题及答案

源代码在线查看: printtest.java

软件大小: 229 K
上传用户: focuslocus
关键词: Java Thinking 4th in
下载地址: 免注册下载 普通下载 VIP

相关代码

				//: operators/PrintTest.java
				// TIJ4 Chapter Operators, Exercise 1, pager 94
				// Write a program that uses the "short" and long form of print statement
				
				import static net.mindview.util.Print.*;
				import org.greggordon.tools.*;
				
				public class PrintTest {
					public static void main(String[] args) {
						print("Hello, from short form.");
						P.rintln("Hello from greggordon form.");
						System.out.println("Hello from long form.");
					}
				}			

相关资源