Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Programmer > Re: Can single ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 52585 of 55513
Post > Topic >>

Re: Can single cl***** be im****ted (without using : im****t package)

by Roedy Green <see_website@[EMAIL PROTECTED] > May 8, 2008 at 12:30 PM

On Wed, 7 May 2008 20:12:25 +0200, "Juergen Kluth"
<jkluth@[EMAIL PROTECTED]
> wrote, quoted or indirectly quoted someone who
said :

>if i have a useful class in a seperate file , which java code has NO line
of 
>"package package-name"
>
>can i im****t this class, allthoug the statement "im****t package-name"
makes 
>no sense
>
>is there any "im****t path\cass-name" statement possible ? or the like ?

no.  As soon as you have more than one class you should assign all
your cl***** to a package.

Packageless cl***** are just for little one-shot experiments.
-- 

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 




 2 Posts in Topic:
Re: Can single classes be imported (without using : import packa
Roedy Green <see_websi  2008-05-08 12:30:24 
Re: Can single classes be imported (without using : import packa
Viks <vikasshetty12@[E  2008-05-08 23:46:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 18:35:15 CST 2008.