Computer Science, asked by adityab1973, 1 year ago

Define define the parts of Java program with example?

Answers

Answered by alisha566
0

Answer:

I don't know but I am sorry

Answered by Anonymous
2

Java programs are made up of different parts. We’ll begin by looking at a simple example:

/*

This program demonstrates

parts of a java program

*/

public class FirstProgram

{

public static void main(String[] args)

{

// Display message.

System.out.println("Hello World!");

}

}

Similar questions