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 was ocean travel dangerous (two things)?
what is the formula of quadratic using factoring. And explain the formula?​
Find area and perimeter!!!!!WILL GET BRAINLIEST !!!!!​
Joao is snapping some pictures with his classmates. They are sitting on the tennis court and Joao is holding his cellphone at arm’s length to capture images of
Help me pls which one ?? Ahh will make you brainless have a good day
Find the exponential equation that passes through the points 0,6 and 2,3.84 in y=ab^x form
PLSSS HELP IF YOU TURLY KNOW THISS
Can anyone help me solve this problem?
The circumference of a circle is 20pi in. What is the area, in square inches? Express your answer in terms of Pi
O.A. (Opinionated Answer): What is your take on dimensions and altered realities. Where do you think youd find them? do you believe in them? and how would time