Results 1 to 5 of 5
Thread: Java Packages/Jars
- 09-13-2008, 10:34 PM #1
I don't know if I'm posting in the appropriate forum so moderator please move me if I'm not.
Hello fellow Java programmers,
I have a few questions on the fundamentals(?) of Java class/Jars we import to our programs.
First, I think I know the basic concept of importing a Jar into a program (somewhat): To instantiate objects of classes from the respective Jar to use their methods and more. Well, many imported classes have many useful methods and such to use for programs. I was given a concept of how many classes there are to a particular package, and the tons of methods there are within the classes. For a newbie Java programmer like myself, I'd like to know every method from every class so I could properly strategize what to import and use when making a program. The problem is the imports that contain "method tools" are soooooo expansive, perhaps endless? Well I'd like input from ya'll to see if that thought is somewhat true; is it really endless?
I would also really really appreciate any references to websites (or books) that elaborate on what particular imports (like java.lang, javax.swing , java.awt, java.util, etc.) contain and how the classes can be used in programs for begainners like me.
If my perception of imported Jars and such is wrong, please correct me because I'd love to learn. For those who do provide me great feedback, I do have cupcakes I'm willing to trade for knowledge!
Thanks for your time,
- 09-13-2008, 11:31 PM #2
Probably the new to java would be a better location.
importing a Jar into a program
The import statement tells the compiler where it can look for class definitions. Classes are often placed in jar files for ease of control and usage, but they don't have to be.I'd like to know every method from every class
- 09-14-2008, 01:36 AM #3
- 09-14-2008, 02:41 AM #4Senior Member
- Join Date
- Aug 2008
- Rep Power
I wish you very good luck: Java 2 Platform SE v1.3.1
There are ~2000 classes and each of them has at least 20 methods. That would make a total of ~40000 methods.
Have fun.I die a little on the inside...
Every time I get shot.
- 09-14-2008, 07:58 PM #5
- By mgrprasad90 in forum Enterprise JavaBeans (EJB)Replies: 2Last Post: 08-23-2008, 03:38 PM
- By dark_cybernetics in forum New To JavaReplies: 0Last Post: 08-19-2008, 04:44 PM
- By bizmut in forum EclipseReplies: 1Last Post: 06-04-2008, 05:41 PM
- By sta2003 in forum New To JavaReplies: 3Last Post: 02-12-2008, 12:03 PM
- By orchid in forum EclipseReplies: 4Last Post: 06-08-2007, 10:35 AM