does any know how I should to decalre and initialize the Scanner method for scan typed text in the application?
When you want to scan your own text, that you type with your own Keyboard, you have to use (System.in). But what have to stand in the brackets, when you want to scan what anybody type in the application