Computer Science, asked by akshayegreat, 1 year ago

/*program HelloWorld.java*/
class HelloWorld
{

public void display()
{
system.out.println("Hi ! BlueJ is very easy to work with.");

}
}

can someone tell me what does this error means?
"package system does not exist"

Answers

Answered by kvnmurty
1
A package does not exist with the name "system".  There is a package with the name "System".    lower case/higher case.

Further, normally we define a function called  main in the main entry object class.

     public static void main (String  args [] )  {

     }

I dont see that in your program .  I hope that is present in your class definition on your computer.


kvnmurty: click on thank you link pls
Similar questions