Java programming exercises and solution: Write a Java program to print 'Hello' on screen and then print your name on a separate line.
Answers
Answered by
2
Answer:
The process of Java programming can be simplified in three steps:
/* This is a simple Java program.
FileName : "HelloWorld.java". */
class HelloWorld
{
// Your program begins with a call to main().
// Prints "Hello, World" to the terminal window.
public static void main(String args[])
{
System.out.println("Hello, World");
}
}
Explanation:
itz sameermark
Similar questions
Math,
30 days ago
Sociology,
30 days ago
Computer Science,
30 days ago
Chemistry,
2 months ago
Business Studies,
9 months ago
History,
9 months ago