Sagot :
Answer:
- We need to know and understand first the syntax in developing Java program because basic syntax represents the fundamental rules of a programming language. Without these rules, it is impossible to write functioning code. Every language has its own set of rules that make up its basic syntax.
- The importance of the utility scanner in Java programming is it is a class in java utility package used for obtaining the input of the primitive types like int, double, etc. and strings. It is the easiest way to read input in a Java program, though not very efficient if you want an input method for scenarios where time is a constraint like in competitive programming.