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

Question 5 Act of noting or recording something is called _________. a. technique b. evaluate Selected: c. observation This answer is correct. d. appreciation
What are the similarities between the first settlers and present-day immigrants coming to the US? Think about your own families.
Huilan's age is two times Thomas's age. The sum of their ages is 18. What is Thomas's age?
The ratio of 12 to 15 is ____ the ratio value of 7 to 5 A) less than B) greater than
HELP What is metallurgy?A. the study of how to domesticate animalsB. the science that studies how metals workC. a Hindu sacred ritual for cleansing the bodyD. t
List the first 5 Multipluls of 30
Please turn the following sentence into active voice while keeping the meaning the same: An excellent job offer was being considered by the journalist.
what is the value of x in the eqation 3 [2x+5]=3x+4x
Help me please (10 points )
a + 3y + 4a - 2y + 10