📄 question.java
字号:
package cn.netjava.pojo;
/**
* 问题类,属性及方法
*
* @author XieChengmin
*
*/
public class Question {
private int id;
private String questionContent;
private Person p;
private String other;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getQuestionContent() {
return questionContent;
}
public void setQuestionContent(String questionContent) {
this.questionContent = questionContent;
}
public Person getP() {
return p;
}
public void setP(Person p) {
this.p = p;
}
public String getOther() {
return other;
}
public void setOther(String other) {
this.other = other;
}
public String toString() {
return "id:" + id + " ,content: " + questionContent + " person: " + p
+ " ,other" + other;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -