Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package ass;
- /**
- *
- * @author NgT
- */
- public class Student {
- public int Id;
- public String name;
- public float score;
- public Student() {
- }
- public Student(int Id, String name, float score) {
- this.Id = Id;
- this.name = name;
- this.score = score;
- }
- public void setId(int Id) {
- this.Id = Id;
- }
- public void setName(String name) {
- this.name = name;
- }
- public void setScore(float score) {
- this.score = score;
- }
- public int getId() {
- return Id;
- }
- public String getName() {
- return name;
- }
- public float getScore() {
- return score;
- }
- }
Add Comment
Please, Sign In to add comment