dank95011 dank95011
  • 03-10-2019
  • Computers and Technology
contestada

What statement would you use to print the phrase Hello, world and then start a new line?

Respuesta :

SerenaBochenek SerenaBochenek
  • 06-10-2019

Answer:

Statement to print phrase "Hello, world" and then start a new line in java.

System.out.println("Hello, world");

Explanation:

In java, we use "System.out.println();" statement to print any string/phrase and then start a new line.The above line will print phrase "Hello, world" and then start a new line.

Implementation in java:

// class definition

class Main

{

// main method of the class

public static void main (String[] args)

{

// statement to print phrase and start new line

      System.out.println("Hello, world");  

} }

Answer Link

Otras preguntas

Why do Ionic bonds form between metals and non-metals?
A student has a savings account with $475 in it. She deposits $125 of her paycheck into the account every week. Her goal is to save $7,000 for college. Question
Item 21 Find the volume of the prism. Write the answer as a fraction in simplest form. A rectangular prism with length two-fifths centimeter, width one-fifth ce
Can someone tell me the answer plz I’ll give brainlist and points
Symbol for sulfur uranium and phosphorus
During the 1600s, which of the following explorers traveled along the Mississippi River, establishing French control over the region?
Which graph shows a proportional relationship between x and y? F)A H)B G)C J)D
is topical an open or closed syllable
the girl to boy ratio is 3 to 7 if there are 50 students total how many boys
Pls help asap. Need it early pls​