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

What is the noun in the sentence below? The fish swims quickly. a. Quickly b. Fish c. The d. Swims
How do you put allele in a sentence
Mrs.Henderson had 7/12dozen eggs in her refrigerator.Then she used 1/6 dozen eggs to make a cake.What fraction of a dozen is left?
Please help with Algebra 1
How has water influenced the development of civilization in Africa
testosterone directly affects the
what is the geometric mean between 6 and 20?
In terms of weather, what kind of boundary does the line labeled  X represent? A. occluded front B. stationary front C. cold front D. warm front
4x-2y=14 y=1/2x-1 Solve the system of linear equations by substitution. Check your answer.
Jimmy pays $2.93 for each gallon of gas. Which table best represents the relationship between g, the number of gallons purchased, and m, the amount he pays for