Click to like/follow us on:
If you have not studied problem solving and algorithm development, it is advised that you do so.
Oh! we have no class and it has not being named. Let the wizard name the class for us. Listen to him;

public class MyFirstClass {

We have named our class, however the class is like a building plan. So MyFirstClass is just a spoken word that is not existing anywhere though not to be compare with that of God's words during the creation or his word in the book of John 1:1-2, 10, 14. Now we need the wizard word, MyFirstClass, to be in existence so that it can have a place to work or worked on. By this, the class will now be working or worked on using a particular a method (The main method). Thus

public static void main (String [ ] args) {


Finally the class now have a method by which it can work or be worked on and that method is the main method. But what will the class do for us or what do we intend to do with the class? We want to use this class to welcome you to this tutorial. You are right the main method knows how to do that. Because it have the methods/functions/features or characteristics to display a text that welcomes you here. Thus

System.out.println("Hello welcome to: Essentials of Java Programming Language!");





The main method actually used another class, System class. The System class help us to perform input and / or output in our programme ( I/O ) to display the welcome message using System.out.println( );. Here is the complete programme.


public class MyFirstClass {
public static void main (String [ ] args)
{
System.out.println("Hello welcome to: Essentials of Java Programming Language!");
}
}




Don't worry we have not started anything, we have just welcomed you to this tutorial. Just stay tuned. Click here to visit and like our facebook page. There you don't need to stay tuned because you will be up to date, to all our news/tutorials which are currently going and coming around.

SHARE THIS POST WITH YOUR FRIENDS...::

0 comments:

Leave a Reply

All Posts

Access all posts here!

Categories

Unordered List

Sample Text

Lists of Jobs in the United States

List of Courses & Outlines For UNN Students

Popular Posts

Like us on Facebook

Recent Posts

    Text Widget