when using the import statement does it referrer to a directory or something else(a package) ?
I have been looking at some code which has:
I have downloaded the source for JAMA but i don't know where to put it on my machine(WinXP) so that I will be able to use the same statement to use it.
Can anyone help?
p.s. coming from C++ does the "import" statement relate to the "include" statement?
Have a look-see here.
Import is similar to C++'s include, but with C++ the included file is well, obviously - actually included, whereas with Java, the imported package is made available rather than included.
Hope this helps.
Hello that that helps on a conceptual level.
On a practical level i found i could (with a Netbeans project) put all the source files from the JAMA source in a folder project_folder\src\jama and then add this folder to the project's source-files-folder in project options and then use the import statement: