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

Write a Python program in which a student enters the number of college credits earned. If the number of credits is greater than 90, 'Senior Status' is displayed
Someone pls help me with this pls I will make you brain
What is the reason for each step in the solution of the equation? 12−5x+6x=4 Drag and drop the reasons into the boxes to correctly complete the table. 12−5x+6x=
You’re reading from the journal of a European explorer from the early 1600s. In one passage, the explorer describes sitting on the Atlantic Ocean with little wi
Beckett went to two different stores at the mall. He purchased a $36 hat at the first store and a $52 pair of shoes at the second. Beckett estimates that he spe
Step 4: Isolate the constant term by: Check Adding 4 Adding 4x Subtracting 3/5x
Animal cells contain what structures
A sphere of radius r =34.5 cm and mass m = 1.80 kg starts from rest and rolls without slipping down a 30.0∘ incline that is 10.0 m long. A.) calculate its trans
Will the lizard make it to the other side of the road before the car gets there? yes or no
Algebra 2 11th grade