example18_17.java~

来自「用JAVA语言编写的华容道程序」· JAVA~ 代码 · 共 34 行

JAVA~
34
字号
/** * Write a description of class Example18_17 here. *  * @author (your name)  * @version (a version number or a date) */public class Example18_17{	// instance variables - replace the example below with your own	private int x;	/**	 * Constructor for objects of class Example18_17	 */	public Example18_17()	{		// initialise instance variables		x = 0;	}	/**	 * An example of a method - replace this comment with your own	 * 	 * @param  y   a sample parameter for a method	 * @return     the sum of x and y 	 */	public int sampleMethod(int y)	{		// put your code here		return x + y;	}}

⌨️ 快捷键说明

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