⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 singlecolorset.java

📁 软件工程实践课程的答案哦
💻 JAVA
字号:

public class SingleColorSet 
{
	private	int color0;
	private int color1;
	private int color2;
	SingleColorSet()
	{
		this(0,0,0);
		
	}
	/**@param color0 value of attribute color0
	 * @param color1 value of attribute color1
	 * @param color2 value of attribute color2
	 * */
	SingleColorSet(int color0,int color1,int color2)
	{
		this.color0 = color0;
		this.color1 = color1;
		this.color2 = color2;
	}
	/**@return the value of color0*/
	public int getColor0()
	{
		return this.color0;
	}
	/**@return the value of color1*/
	public int getColor1()
	{
		return this.color1;
		
	}
	/**@return the value of color2*/
	public int getColor2()
	{
		return this.color2;
	}

}

⌨️ 快捷键说明

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