The problem about java package
Hi!
I am a newcomer in core java course.Now I have some problem in my assignment.
I write the code below,to create a java package.But when I compile the .java file ,it shows some error information on the command prompt.Pls help me.
package Student_package;
public class Student {
public static String Name;
public static String School;
public static void display (String a, String b) {
Name = a;
School = b;
System.out.println ("The student's name is: " Name);
System.out.println ("The student's school is : " School);
}
}
Thanks in advance!