File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface" Watch "interface" New topic



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

Joined: Mar 16, 2001
Posts: 986

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

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., 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

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Mar 16, 2001
Posts: 986

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

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"

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.
I agree. Here's the link:
subject: interface
jQuery in Action, 3rd edition