| View previous topic :: View next topic |
| Author |
Message |
alepuzio Guest
|
Posted: Wed Feb 06, 2008 12:12 pm Post subject: Questions of a beginner about difference between pattern "c |
|
|
Hi!
I'm insteresting by a few of time about design pattern. In the book
"Design Pattern" of Gangs Of Four I read that some pattern is in
compile time (i.e. Abstract Factory) and others are in run-time (es.
Decorator).
I don't understand this point: the decorator pattern in Java language
is used for I/O package.
BufferedReader stdin = new BufferedReader(new
InputStreamReader(System.in)
This is an example of pattern decorator but I know at compile-time the
structure of variable stdin because in compile time ( when I read the
source code) I see the constructor.
What's means the run-time (when the code runs) in this case?
Excuse-me for the level of questions and for my English :)
Bye |
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|

112 Attacks blocked
Powered by phpBB © 2001, 2005 phpBB Group
|