#2Java Study > Important concepts about methods > Flashcards
1.Return new Scanner(system.in).nextInt(); this will get an integer from the user without initializing a variable.
what is a method?
2.Always use the return keyword in a method.