Re: Is there an easy way to find the right class?
- From: Patricia Shanahan <pats@xxxxxxx>
- Date: Tue, 30 Jan 2007 13:54:39 GMT
Farcus Pottysquirt wrote:
The API has tons of classes and stuff right? So if I'm writing a program in Java, how would I find the right class and package? Let's say I'm writing an app and I need a class that will take a database object and store it in some sort of list that will let me easily add and delete from it. I know that ArrayList has this functionality...but that's only by experience. What about a noobie (I rank myself only slightly higher)... how would they find this out?
If I have any clues about the package I want, I go straight to the API documentation, and start reading about that package. In particular, read any package page in the documentation - it often gives major clues about which classes to use in what situations.
If not, I google:
java whatever
where "whatever" is a description of what I want to do.
Patricia
.
- Follow-Ups:
- Re: Is there an easy way to find the right class?
- From: Farcus Pottysquirt
- Re: Is there an easy way to find the right class?
- References:
- Is there an easy way to find the right class?
- From: Farcus Pottysquirt
- Is there an easy way to find the right class?
- Prev by Date: Re: Is this recursion?
- Next by Date: Re: Is there an easy way to find the right class?
- Previous by thread: Re: Is there an easy way to find the right class?
- Next by thread: Re: Is there an easy way to find the right class?
- Index(es):
Relevant Pages
|
|