Legolas

Legolas

  • NA
  • 81
  • 176.4k

Package in java

Jul 20 2011 12:41 AM
Hi,

I am recently start using NetBeans IDE 7 for java programming. Each new java project contains a line of code- Package "name of project". The program doesn't run when I remove this line. But I don't need such line when creating a java program in Windows Notepad. I just use open command prompt and use javac & java to run it which works.


Can somebody explain how does it happen ?

Answers (1)