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

How do I find the 5th term of a sequence defined by the given rule? f(n)= 6.5n + 4.5 Can someone also explain the rule(s)? I'm having trouble understanding all
A 5-ounce container of Greek yogurt contains 140 calories. Find the unit rate of calories per ounce
The lengths of a rectangular garden, the inner rectangle, is 9ft more than its width. For the garden. Let x = width, x + 9 = length. It is surrounded by a brick
What the answer now now
Graph the equation y=4x+1 by plotting points.
in two grammatically correct sentences explain intonation​
What is the cohort effect in psychological research? Explain how the cohort effect may influence the results of a cross-sectional design study examining the age
The circle below is centered at the point (-3,4) and had a radius of 3. What is it equation? ( top answers gets )
Who made Coca Cola and with what?
why do we need a universal language​