Sorry, my mistake on the abstract thing - I don't write many abstract classes.
I think you're looking for the "protected" and "static" class modifers:
This would allow any class inheriting the above to change the getWordList
method for it's own use.
Question: why would you want to pass in an
> -Original Message-
> From: Matthew Small [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 04, 2007 3:16 PM
> To: CF-Community
> Subject: Re: Java Beginner: How would you do this?
>
> You can't create methods in abstract classes anyway. Just create a base
>
You can't create methods in abstract classes anyway. Just create a base class
with all of your base methods, override the properties in an inherited class,
and leave the methods alone. Call the base methods from your inherited methods:
string DoSomething (int Parameter)
{
return myBase.DoSo
On 4/2/07, Jim D wrote:
> but I don't know how to do
> that. How do one object return another?
Here is a simple example (I can explain it, at least.)
import org.apache.log4j.jdbcplus.JDBCIDHandler;
/**
* Implement a sample JDBCIDHandler
*
* @author
* mailto:[EMAIL PROTECTED]">Thomas Fen
I've been trying to get up to speed on Java. To do this I've been setting
myself little projects.
I've decided to convert my "AlphaWords" thing-a-ma-jig to Java. This takes
a string (say "Dog") to one of many phonetic alphabets (for example, using
the nato alphabet, to "Delta Oscar Golf").
I go