-
Facade Pattern
http://www.allapplabs.com/java_desig...de_pattern.htm
Code:
package structural.facade;
public class FinishedGoodsStore implements Store {
public Goods getGoods() {
FinishedGoods finishedGoods = new FinishedGoods();
return finishedGoods;
}
}// End of class
What is finishedgoods here?
if it is a class,Why it doesn't define in that page:
http://www.allapplabs.com/java_desig...de_pattern.htm
Please explain about facade pattern by an simply example thanks
-
Re: Facade Pattern
finishedgoods here is just a class in that implements Goods interface as explained in the article. The author of the article did not show the code of this class because it does not matter in the context of explaining the pattern itself.
check this Wikipedia article. It may help.