java构造方法的简单问题

大神们小弟编译这段代码时总是报错,不知道为啥,特此来请教一下。
public class Student{
String name;
Float score;
public void setName(String _name) {
name=_name;
}
public String getName(){
return name;
}
public void setScore(Float _score) {
score=_score;
}
public float getScore(){
return score;
}
Student(){
stu1.setName();
stu1.setScore();
}
Student(String _name,Float _score) {
name=_name;
score=_score;
}
public void introduce(){
System.out.println("我的名字是"+name+",我的成绩为"+score+"!");
}
}

public class Examp01{
public static void main(String[] args) {
Student stu1=new Student();
stu1.setName("Tom");
stu1.setScore("95.5");
stu1.introduce();
Student stu2=new Student("john",100.0);
stu2.introduce();
}

}
图片说明

下划线是几个意思,,,

# 1.你这个String_name 是连在一起写了吗,肯定得分开啊,如:String _name ,String是参数类型,_name是形式参数名、
# 2.有很多地方写的是string ,应该是String。

3.Student(){

student.setName;
student.setScore;
}
这一段,student这个对象根本是不存在的吧,setName和setScore方法都是对象方法,对象没有实例化更不能调用这两个方法。

定义函数的参数的时候,你在类型和参数名之间少了个空格,然后他们就搞在一起了,算是一个东西了,,比如,你应该在(String_name),的String 和 _name
之间加个空格,然后再试试看

package student;

public class Student {
private String name;
private float score;
public Student() {
}

public Student(String name, float score) {
    this.name = name;
    this.score = score;
}


public String getName() {
    return name;
}


public void setName(String name) {
    this.name = name;
}


public float getScore() {
    return score;
}


public void setScore(float score) {
    this.score = score;
}


public static void main(String[] args) {

     Student stu1=new Student();
     stu1.setName("Tom");
     stu1.setScore(95);
     Student stu2=new Student("john",100);
     System.out.println("我的名字是"+stu1.getName()+",我的成绩为"+stu1.getScore()+"!");

}

}

1)你的命名方式:可以用一些比较人性化的命名:比如:set_name等,这样String_name,可能出错.
2)你的stu1和stu2,只是在main主方法里面写了,并不是全部变量,不可以在student里面调用
3)“Information” 这个属于String,并不是Float
4)如果可以定义变量属性为:Float,后面根本不用转化类型

难道是同一批软件园培训的????????????????

你的setScore(float _score)方法中,但是stu1.setScore("95.9")时,传的值又是字符串。