Head First Java book-Abstract methods question
Hi, On page 203 or my "Head First Java" book, they talk about abstract methods. I understand the purpose for Abstract classes, you don't want to be able to make an object of an abstract class like ""Animals", that is an abstract term. Something more concrete like "Dog" you could make an object out of.
However, I have no idea what an abstract method is for if it doesn't have a body. So it has in the book this example.
and that is IT!! NO body? what the heck? LOL. if any one can, please help me understand what abstract methods are for please. Any help greatly appreciated. Thanks. Derek:D
public abstract void eat();