aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Data class Interface help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Data class Interface help" Watch "Data class Interface help" New topic

Data class Interface help

Andre Mermegas
Ranch Hand

Joined: Jun 20, 2001
Posts: 158
ok, id like to make a common Interface both
Data and RemoteData class can implement which
exposes all the public methods.As it stands I'm
having a problem with them both using one inteface
which defines all the public methods of Data.
Here is the interface for Data class

here is the interface for RemoteData

What would be the way to make one common interface?
I thought perhaps that removing all the throws from
each method would work, but it causes compile errors.
I may be kinda confused..
[This message has been edited by Andre Mermegas (edited December 13, 2001).]

--=( Andre Mermegas )=--
Andre Mermegas
Ranch Hand

Joined: Jun 20, 2001
Posts: 158
thanks guys, found what i was looking for in search!!
=) this place is awesome.

Andre Mermegas
Sun Certifed Java Programmer
I agree. Here's the link:
subject: Data class Interface help