Should we write Scanner sc= new Scanner( System.in)statement first or int some variable first
Answers
Answered by
0
You can write anything first
Scanner sc ..... wali line bhi
ya variable initialization.
But declaration and initialization ekk saath karte waqt pehle likhna padega Scanner sc ... wali line ko.
Hope it will help you priyaji
Similar questions
History,
6 months ago
Social Sciences,
6 months ago
Biology,
1 year ago
Hindi,
1 year ago
Geography,
1 year ago