203k views
5 votes
Which part of t he following line is ignored by the compiler?

double userName"janedoe" I user's name is janedoe

a. "janedoe"
b. user's name is
c. user's name is janedoe
d. / /
e. None of these

User Manikanta
by
5.6k points

1 Answer

0 votes

Corrected Question:

Which part of t he following line is ignored by the compiler?

double userName"janedoe" // user's name is janedoe

a. "janedoe"

b. user's name is

c. user's name is janedoe

d. / /

e. None of these

Answer:

c. user's name is janedoe

Step-by-step explanation:

I have assumed and made a modification to the question by rewriting and correcting it as shown above.

If that's what the question is, the the correct answer is c.

Chunks of texts after the double-forward slash( // ) are regarded to as comments.

Comments are not executed by compilers neither are they executed by interpreters. They are simply ignored. Comments are used to provide information about essential parts of a code such as variables, methods or any other statement or expression. Comments are used to explain certain parts of a code. They are mainly for making codes more readable and understandable.

Hope this helps!

User Samkass
by
5.7k points