Shiny Suresh wrote:
I have written something like this. Could you please help me with this? Thanks for your prompt response.
Shiny Suresh.
Soumyajit Hazra wrote:Thanks Jeff. I do searched it in google and found that in Template Design Pattern,Factory Pattern we are using abstract classes. Please correct me if I am wrong. I mainly want to get the differences between interface and abstract class from design pattern point of view. I understand its a very general question but I'll be great full if anyone pick any one pattern and give me some explanation w.r.t that pattern only.
Campbell Ritchie wrote:Why have you got a Manager field in the Manager class? That looks mistaken to me.
Maneesh Godbole wrote:
Gaurav Raje wrote:You might also want to check the import statements. I have had cases where the eclipse auto import messed up my actual imports
In that case, the code wouldn't compile in the first place, not throw an exception at runtime