If we want to import package present in any other drive(C/D/E...) how do we import it?
How many namespaces exist for a class(like one for class names,one for method names etc).
When we import packages in a java file,are they imported into a seperate namespace each?
To import packages from any location, put that location into your classpath. Every package has its own namespace of classes. Every class has its own namespace of methods.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment