The006
The006 The006
  • 22-02-2021
  • Computers and Technology
contestada

what is the correct java syntax to output the sentence: My dog's name is "dee-dee"?

Respuesta :

frazer380
frazer380 frazer380
  • 22-02-2021

Answer:

System.out.println("My dog's name is \"dee-dee\"");

Explanation:

You need to use the backslash to use quotes inside a string.

Answer Link

Otras preguntas

In the English civil war why was the Roundheads and cavaliers named those names ?
The atomic mass of an element is 32.07 u and its atomic number is 16. The number of protons contained in the nucleus of an atom of this element is (A) 16 (B)
What color clothes did amelia earhart wear?
Teach me about ratios
the myelin sheath insulates an axon to decrease the rate of impulse transmission. true or false ?
The expression b/c=b/c is an example of a(n)?
how many points are shared by two perpendicular lines? but two parallel lines?
the library sells 376 books at its annual used-book fundraiser. They take in a total of $2120. Childrens books cost $4, and adults books cost $7. How many child
The ratio of Sam's age to Hank's age is 5 to 3. If the sum of their ages is 24, how old is Hank?
How tall would I  be if i were 54 inches   How tall would I be if i were 58 inches?   How tall would i be if Iwere 59 inches?