Answer:
Declare variable b in both lines
i.e. int b
Explanation:
In the given code, the parameters of both functions were not properly declared.
When listing the parameters, the data type must be clearly stated for all parameters (individually)
In the declaration of both functions, only variable a is declared as integer while b is undeclared.
So, the correction is to declare b as integer
javac Welcome.java
In order to the file to compile with the default compiler in the JDK, the instruction must be of the form:
javac filename
(Note: the filename with the .java extension)
Answer: It is A