wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes true or false Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "true or false" Watch "true or false" New topic
Author

true or false

sun par
Ranch Hand

Joined: Oct 03, 2002
Posts: 257
Am I right in thinking that an abstract method cannot be static
Thanks


Sunita<br />SCJP 1.4
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4456
    
    6

Yes. An abstract method will be overridden in a subclass. Static methods cannot be overridden; they do not participate in polymorphism.


Junilu - [How to Ask Questions] [How to Answer Questions]
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Sunita - even though I'm going to pick on your thread, I mean this as a general guideline in this forum (and all over the Ranch, for that matter).
PLEASE, give your threads good subject lines. A subject like true or false doesn't tell anyone much about the question, unless it has something to do with boolean primitives, which this question does not.
We have a search utility here at the Ranch that allows you to look back through previous posts to find all sorts of great information. However, finding what you're after is awfully difficult if all of the subject lines read things like "true or false" or something else that doesn't really describe the problem.
I don't mean to pick on you, Sunita - this thread just happened to catch my eye. I've seen lots of people that have been hanging around for quite a while do stuff like this. So, please, name your threads well.
Corey


SCJP Tipline, etc.
sun par
Ranch Hand

Joined: Oct 03, 2002
Posts: 257
Noted. Shall give meaningful subject lines henceforth.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: true or false