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

The area of square abcd is 36 square units and the area of triangle ebf is 20 square units. if line eb is perpindicular to line bf and line ae is equal to 2 fin
How do other characters describe Mercutio as a person? Use at least 1-2 quotes to support your answer.
How many moles are there in 8.25 x 10^26 molecules of methane
Tell whether the given number is a solution of 2(3x + 1) 2 7x + 4. 1. -1 2.-2 3.-10 4.0 step by step please :)
PLEASE HELP ENGLISH QUESTION Romanticism is: Writing during the period of Queen Victoria's reign includes sentimental novels. Realism is the dominant fashion, b
Explain how Malala and her family’s experience as refugees differ from most refugees (Prologue). HURRY
Select the correct answer from the drop-down menu. How does the author develop the theme that confidence grows as a result of many experiences and how one choos
x3+y3+z3=42 What is x,y, and z
Solve for x. x2.5<10 x
I had this random thought in the shower. Can certain parts of your body be allergic to something? Like ya legs allergic to strawberries but your back now.