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

📄 user.java

📁 一个JAVA做的博客系统。系统采用JSP + JS + TOMCAT + MYSQL制作。用户能上传图片和音乐到系统中。游客和用户自己能在页面中浏览文件和听歌。
💻 JAVA
字号:
package common;

public class User
{
	String username, password, question, answer;
	int popedom;

	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
	public String getAnswer()
	{
		return answer;
	}
	public void setAnswer(String answer)
	{
		this.answer = answer;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getQuestion()
	{
		return question;
	}
	public void setQuestion(String question)
	{
		this.question = question;
	}
	public int getPopedom()
	{
		return popedom;
	}
	public void setPopedom(int popedom)
	{
		this.popedom = popedom;
	}
	public User(String username)
	{
		this.username = username;
	}
	public User(String username, String password,
		String question, String answer, int popedom)
	{
		this.username = username;
		this.password = password;
		this.question = question;
		this.answer = answer;
		this.popedom = popedom;
	}
	public void clear()
	{
		this.username = null;
		this.password = null;
		this.question = null;
		this.answer = null;
		this.popedom = 0;
	}
}

⌨️ 快捷键说明

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