Printing Your First Java Program
Every programmer first code or writing starts with words like "Hello World", "Am a Programmer" etc, that's what makes programming so fun and interesting in a way that the programmer would one day be writing millions of lines of codes.
But before you start writing thousands and millions of codes we have to start from somewhere and that is why this post is very essential to beginners new to coding.
We will be demonstrating how to write "Welcome to Java programming" in a Java language.
Java language is one of the most widely used high level programming languages for developing complex and high end applications that can be run on all platforms. thus; its platform independent.
To get started with Java, I recommend using DrJava which is a
lightweight development environment for writing Java programs. It is designed
primarily for students, providing an intuitive interface and the ability to
interactively evaluate Java code. It also includes powerful features for more
advanced users, it’s also free and easy to use.
With that introduction to Java sorted, let's get cracking on coding.
public class Welcome1
{
public static void
main (String args []){
System.out.println("Welcome to Java programming");
}
}
Also see Printing Your First C++ Program
Comments
Post a Comment
Please feel free to comments if you have any ideas, questions and subjection concerning our post and programs