0
why is it that we leave gaps between certain codes?
example: import java.util.Scanner; class MyClass { public static void main(String[ ] args) { Scanner myVar = new Scanner(System.in); System.out.println(myVar.nextLine()); } } i.e the gap between import and class
2 odpowiedzi
+ 9
Blank lines are optional and entirely up to the author of the code. However, adding blank lines helps to make the code more readable by visually separating different components.
0
oh ok thanks.