freelanceprogrammers.org Forum Index » Java

Help! How Can I Implement My Interface?


View user's profile Post To page top
olufemioyelami Posted: Wed Apr 21, 2004 8:06 pm


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.
Reply with quote
Send private message
View user's profile Post To page top
nico_heinze Posted: Wed Apr 21, 2004 9:20 pm


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.
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

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
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help