*
The moose likes Beginning Java and the fly likes interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface" Watch "interface" New topic
Author

interface

p_naresh
Greenhorn

Joined: Aug 20, 2001
Posts: 3
Hi,
what is a methodical and non-methodical interface?
Thanks
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

Sounds like some author is making up words again.
I would be interested in the answer to this one also.


Please ignore post, I have no idea what I am talking about.
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

What the hey, I'm in a guessing mood, and I'm guessing these terms are words a non-English speaker has used to distinguish two "kinds" of interfaces.
I bet a "non-methodical" interface is one that contains no method declarataions, e.g., java.io.Serializable and java.rmi.Remote. These are more conventionally called tagging or marker interfaces. Their purpose is to tell the VM to treat the implementing classes in a privileged way.
A "methodical" interface would just be interfaces that declare one or more methods.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

As long as we're guessing, 'non-methodical' interfaces could also be for storing constants...
Dave.
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

I must have right, an author had to answer the question. (They cover for each other all the time.)
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Yeah, but when Michael speaks - we ALL listen . He convinced ME.
But David has a good point also. Therefore we can predict that David is soon to become an author!!!


"JavaRanch, where the deer and the Certified play" - David O'Meara
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
PS. p_naresh,
Please change your name to be compliant with JavaRanch's naming policy.
Your ID should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name.
Thanks,
Cindy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: interface
 
Similar Threads
Jews in Germany
How To Call Two Different Classes From the Main Program Using the Same API?
Job Offer from Singapore
Design Patterns Explained: what it's about
Design Engineer, (JAVA, LINUX, C ) Dolby Labs, SF,CA