example13_5.java~

来自「用java实现的一个投票统计程序,可以实现各种基本功能,可用来学习!」· JAVA~ 代码 · 共 34 行

JAVA~
34 行
字号
/** * Write a description of class Example13_5 here. *  * @author (your name)  * @version (a version number or a date) */public class Example13_5{	// instance variables - replace the example below with your own	private int x;	/**	 * Constructor for objects of class Example13_5	 */	public Example13_5()	{		// 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 + -
显示快捷键?