WSQ02 – Hello World

The first thing to start programing in any language is to print the famous Hello World. In this blog post I’m going to show you how I did my Hello World and what I used to make it possible.

First of all, objects and class-

Objects: Objects have states and behaviors, for example a car has stats like color, form, name and behaviors would be how fast it goes or how many gasoline it use.

Software objects also have a state and behavior. A software object’s state is stored in fields and behavior is shown via methods.

In software development, methods operate on the internal state of any object and the objects communicate by methods.

So in resume a method has a bunch of statements inside, and methods are what gives objects its particularities.

Class: A class is like a box that has inside has methods and those methods are affecting the objects inside the class

Now the definition of each word used to make thos program.

“public” means that main() can be called from anywhere.
“static” Tell that theres no need for an input to run the program.
“void” means that main() returns no value
“main” The first thing that runs in all the program.
“String[]” means an array of String.
“args” is the name of the String[] (within the body of main()). “args” is not special; you could name it anything else and the program would work the same.

Now that you have all this information you can make your program.
helloprocedureThis will be the result:helloresult
All the links in this blog post sends you to the respective information and here’s a video explaining each step.

New Stuff:





Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s