freelanceprogrammers.org Forum Index » Java
Help! How Can I Implement My Interface?
Joined: 21 Apr 2004
Posts: 1
Help! How Can I Implement My Interface?
My program consists of a user`s defined class with both private and
public methods, how can I implement a class interface for it because
the compliler complained of it.
Joined: 16 Apr 2004
Posts: 4
Help! How Can I Implement My Interface?
Hi,
would you please show us two things?
1) The relevant part of the code that the compiler complains about.
2) The error/warning message you get for this code.
Then we may be able to help you.
As to your question: I guess you didn`t mean what I understood, but
in general you declare an interface simply by doing something like
this:
interface blabla
{
void methodOne( whatever_parameters_it_needs);
...
}
Regards,
Nico
--- In beginnersclub@yahoogroups.com, "olufemioyelami"
<olufemioyelami@y...> wrote:
> My program consists of a user`s defined class with both private and
> public methods, how can I implement a class interface for it
because
> the compliler complained of it.
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







