Results 1 to 4 of 4

Thread: Simple Questions, please.

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Unhappy 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.

  2. #2
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    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

  3. #3

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Thanks a bunch Dil. That helped.

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width