File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interface

 
p_naresh
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
what is a methodical and non-methodical interface?
Thanks
 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like some author is making up words again.
I would be interested in the answer to this one also.
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As long as we're guessing, 'non-methodical' interfaces could also be for storing constants...
Dave.
 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I must have right, an author had to answer the question. (They cover for each other all the time.)
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic