answersLogoWhite

0

How to Write a java program to display hello?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

public class Hello
{
public static void main(String [] args)
{
System.out.println("Hello");
}
}

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to Write a java program to display hello?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is javadoc?

write a java program to display "Welcome Java" and list its execution steps.


Write a program in java to display a string message using Servlets?

i dont no string for servlate


Can we add website link when we write java program?

yes ,i can add the website link in java program when we write.


What command do you use to display a message in java script?

document.write("hello world")


How do you display a string on the console with java?

For example:System.out.println("Hello.");For example:System.out.println("Hello.");For example:System.out.println("Hello.");For example:System.out.println("Hello.");


How do you write a java program to code the applicant collection class which stores and display the personal details of three applicants?

i dont know plz give me the answer


What Program that will display the even numbers in data structures and algorithms?

JAVA


How do you get a Java program to display a backslash in output without it interpreting it as a program command?

Follow the backslash with another backslash: System.out.println("\\ " \"); will display \ " \ on the screen.


Write a java program to display the number is prime or not?

Simply use a for loop (i) that runs from 2 to N-1. Checking if N % i 0 then its a prime number.


Write a c program Fibonacci series using for loop in java?

Exactly what do you mean by 'C program in Java'


How write new line program in java?

\n


How do you display hello world java?

The standard "Hello World" program in Java looks like: class HelloWorld { public void main(String[] args) { System.out.println("Hello World"); } } //end class