Context : Hide the implementation class but defer the instantiation to subclass
Consequence
a) Provides hooks for subclass
a) Provides hooks for subclass
Examples
Calendar.getInstance()
Connection conn = java.sql.DriverManager.getConnection(uri, name, password);
No comments:
Post a Comment