public static void Trong Java L G
public class Student {
float score;
// Getter and Setter
public float getScore() {
return score;
}
public void setScore(float score) {
this.score = score;
}
}
Naughty Narwhal