package com.example.sqlite.bean; //生成变量方法的快捷键:点击光标,点右键,点生成,再点getter and setter public class student { private String name; private String score; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getScore() { return score; } public void setScore(String score) { this.score = score; } @Override public String toString() {//点生成,再点tostring() return "student{" + "name='" + name + '\'' + ", score='" + score + '\'' + '}'; } }
05-26
07-30
539