EVOXDRIFTER6769 EVOXDRIFTER6769
  • 02-03-2020
  • Computers and Technology
contestada

Which of the following cannot cause a syntax error to be reported by the Java compiler? Question 12 options: A) Missing */ in a comment that begins with /* B) An extra blank line. C) Missing ; D) Mismatched {}

Respuesta :

ijeggs
ijeggs ijeggs
  • 03-03-2020

Answer:

B) An extra blank line

Explanation:

An extra blank line or the spaces between characters in a Java program is referred to as a white space. Java compiler Ignores these whitespaces as such an "extra blank line" without any writing will not result in a syntax error to be reported.

for example all this are valid in java

int a = 5;

int             a    =         5      ; // This is still valid, the empty space. same rule applies if there was just an empty blank line.

Answer Link

Otras preguntas

why should you avoid the use of sarcasm, cliches, and idioms in business letters?
observation of sand and water separation
If f(x, y)=xy−x^2, what is the value of f(f(−2, 3), −4)? a)-10 b)-30 c)-50 d)-60 e)40
The graph of a line is shown below. What is the equation of the line, in slope-intercept form, that is parallel to this line and has a y-intercept of 1? a)
The length of a rectangle is l and the width of the rectangle is w. Which statement explains why the perimeter of the rectangle can be found using l + w + l
Can someone please check my answers . And my bunny ate the paper for those wondering
how do i factor a polynomial
what does Virtual Lab mean
what was threatening the balance of the number of slave states and free states
A 4.98g sample of aniline (C6H5NH2, molar mass is 93.13g/mol) was combusted in a bomb calorimeter with a heat capacity of 4.25kJ/°C. If the temperature rose fro