Computer Science, asked by priya2004, 10 months ago

Should we write Scanner sc= new Scanner( System.in)statement first or int some variable first

Answers

Answered by amannishad0512p5zxh6
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