A simple program in Java.

0


Below is an example of a simple program written in Java programming language.

Java GeeksCodes


Change the text in the below code to make the program print "Hello Java" instead of "Hello C" and click on Submit.

We will learn more about the other aspects of the below code in the later sections.

 Q. No :- 10732

public class FirstProgram {

public static void main(String[] args) {

System.out.println("Hello Java");

}

}



Tags

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
✨ Updates