0

Scanner in java

How should i use number (int) in java. Please at least one example

1st Apr 2020, 11:40 AM
Fakea Vangchhia
Fakea Vangchhia - avatar
3 Respuestas
+ 3
Hi Fakea Vangchhia it looks like you have completed the whole course and are yet struggling with topics like scanner. Try revising it once again. https://www.sololearn.com/learn/Java/2220/
1st Apr 2020, 11:46 AM
Avinesh
Avinesh - avatar
+ 2
Scanner sc = new Scanner(System.in); int n = sc.nextInt();
1st Apr 2020, 5:55 PM
Marina Vasilyova
Marina Vasilyova - avatar