00fa2b27d8c6001a1edf9b5c61eb9e89

来自「C调用Java的一个例子程序」· 代码 · 共 47 行

TXT
47
字号
/*
 * Created on 2006-4-7
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package PrintTest;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class PrintClass {
	public void 	Print(int _i)
	{
		System.out.println(_i);
	}
	public void 	Print(int [] _ia)
	{
		for(int i = 0; i < _ia.length; ++i)
		{
			System.out.println(_ia[i]);
		}
	}
	
	public void 	Print(String [] _sa)
	{
		for(int i = 0; i < _sa.length; ++i)
		{
			System.out.println(_sa[i]);
		}
	}
	
	public void     Print(String _s)
	{
		System.out.println(_s);
	}
///*	public static void main(String[] args) {
//		PrintClass _PrintClass = new PrintClass();
//		_PrintClass.Print(132);
//		String _str = "string";
//		_PrintClass.Print(_str);
//	}*/
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?