The Simplest Java Program! - Displaying a Text

This is a simple Java program to display a text: 'i=100'.
This program enable you to understand:
  • How to declare variable.
  • Structure.
  • Output statement.






class Awesome
{
                static int i;
                public static void main(String[] args)
                {
                                i=100;
                                System.out.println("i="+i);
                }
}

Click here for instructions for executing the program.

Popular posts from this blog

How to pass variables to res.render() in Node.js

Talky Messenger Documentation & Setup