Brief description  about Online courses   join in Online courses
View THOMAS  ZHOU 's Profile

The problem about java package

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!
Asked by THOMAS ZHOU | Mar 20, 2014 |  Reply now
Replies (1)
View Akshay Arun Fadte 's Profile
what is the error?
Mar 21, 2014