I'm studying design patterns to improve my programming skills. Right now, I'm exploring the facade design pattern.
I may be confusing myself, but, as an example: isn't the Scanner Java object... a facade?
Well, I declare it so I can use certain features without contacting complex and deeper functions, right?
I declare
Scanner sc = new Scanner(System.in);
so I can:
String x = sc.NextLine();
Thank you very much!
Aucun commentaire:
Enregistrer un commentaire