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
is a facade?
Note that I'm not asking what is a Facade, but trying to identify if Scanner is.
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();