|
-
Jul 2nd, 2002, 09:34 AM
#1
Simple Questions, please.
1)What are packages?
2)Explain different packages with at least 5 classes and their functions.
I know question 1 may be easy for you.
Question 2 might be a long answer which no one's willing to type out, so perhaps you could provide me with a link to that answer?
I really really appreciate any help I get on this.
Thanks.
-
Jul 2nd, 2002, 12:07 PM
#2
Dazed Member
1.) A package is a named collection of classes(and possibly subpackages). Packages serve to group related classes and define a namespace for the classes they contain. If you want define a package all you have to do if place the package directive at the top of your source code file along with the name of the package.
2.) I suggest you buy a copy of JAVA In an Nutshell by O'Reilly 
or check out http://java.sun.com/docs/books/tutorial/index.html
-
Jul 2nd, 2002, 01:34 PM
#3
Thanks a bunch Dil. That helped.
-
Jul 2nd, 2002, 02:24 PM
#4
Dazed Member
No problem mendhak.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|