Thank you for the link. I found what I need to know there. I actually read that tutorial in the pre-class reading, but it got lose in all my confusion. I have to re-read it again and slowly too before I get it.
So, the many occasions we implemented the <PersonInterface> and <CarInterface> in the lab is totally wrong. It should be rightly be abstract class rather than an interface. On Mar 19, 12:27 am, Anton Shaykin <[email protected]> wrote: > Please, read the sun tutorial or something else before asking so > common questions. > You can find the answer > here:http://java.sun.com/docs/books/tutorial/java/IandI/abstract.html > > Regards. > > On Mar 18, 3:26 pm, Min <[email protected]> wrote: > > > What is the compelling reason to use either of the above? > > > Explaination: > > Put simply, when to 'implement an interface' or to 'inherit from > > abstract class'. Both will eventually work. However, in what case is > > one preferred over the other? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
