Scroll Top

Java Programming, A Howdy World Program

Java Programming, A Hello World Program

Java is the new trend amongst the world of programming languages, The most famous languages were C and C++. The C/C++ languages depended mainly on pointers and memory allocation techniques to actually utilize memory space to store data.

In Java there are no referencing, Pointing and memory allocation required, instead we use objects.Objects are children of the class or function you declare,

This makes Java easier to use, and it is a lesser stress for the processor.

For your ease, IDEs are very helpful in running huge lines of codes,

so if you are interested in Java then the recommended IDEs are

Eclipse and Netbeans.

Here is a sample Hello World program code in JAVA

The IDE, I used here is Eclipse Galileo

Import Java.Util.*;

public class HelloWorld

{

public static void main (Strings[ ] args)

{

System.out.println (“nHello Worldn”);

}

}

Output

Hello World

So this shows us, hopefully that Java is a much easier language to use and compose rather than C or C++. The reason being that java is not just a language that simplifies the processing speed, but it also has an excellent format to show where you are at the moment.

for example

The proper way to write a Function in JAVA is

YourFunction yourobject = new YoourName();

This means that yourobject is the object of the function YourFunction()

So now you can reference any data through YourFunction using the dot ” . ” operator.

this makes writing codes easier and the execution speed or time complexity is reduced as well. so if you are looking for a language platform to take up, then JAVA might be the best one for you.


programming
#Java #Programming #World #Program

Will be pleased to have you visit my pages on social networking .

 Facebook page here.

Twitter account is here.

Linkedin account here

Post byBedewy for info askme VISIT GAHZLY

Related Posts

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.