Biyernes, Enero 6, 2017

First Java Program (Hello World)

To write your first Java Programming you need to know the basic of programming.
The usual program that beginners need to know is the Hello World program.

What ever IDE(Integrated Development Kit) are you using the important thing is that you can get the exact output. If you are using Eclipse IDE or NetBeans IDE the steps is still the same.

 Step 1: Open the IDE that you preferred to use.
 Step 2: Click on File  New Project ⇒ Java Application then name your project
 For me I'll name my filecapture If you check the checkbox for Create Main Class then escape step 3
 Step 3: Right Click on your project and choose ⇒ New ⇒ Class choose your preferred name 
Step 4: After that, put this line of code between the brackets of the main method like this:
  public static void main(String[] args) {
System.out.println("Hello World");
 
And then run it!!
 Step 5: click on this!
  play
 then you can see the output at the bottom ..

 I hope you understand it and you made your first Java program!! Congrats..  
Wait on my next post. thanks.

Huwebes, Enero 5, 2017

Introduction for Java Programming Tutorial





What is Programming Language?
Programming language is a formal computer language designed to communicate instructions to a machine, particularly a computer. Also it can be used to create programs to control the behavior of a machine or to express algorithms. And one of the programming language is the JAVA.
What is java?
Java is a widely used programming language expressly designed for use in the distributed environment of the internet. It is the most popular programming language for Android smartphone applications and is among the most favored for edge device and internet of things development.
Java was originally developed by James Gosling at Sun Microsystems  and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low level facilities than either of them.

How to Start?

First thing to do before writing your first Java code, make sure you install the JVM (Java Virtual Machine) and other called as JRE (Java Runtime Environment) which allows java program to run on machine.
After downloading and installing the JRE you need to download the JDK(Java Development Kit) to write and test the java codes.Make sure to download the compatible and appropriate to the operating system of the machine. Is it 32 bit or a 64 bit OS.
Download :
Whats the next step?
To start coding , lets choose the IDE(Integrated Development Environment) that you want to work with , some of IDE'S that i can recommend are the following:

ECLIPSEeclipse-426x100

Eclipse is famous for our Java Integrated Development Environment (IDE), but our C/C++ IDE and PHP IDE are pretty cool too. You can easily combine language support and other features into any of our default packages, and the Eclipse Marketplace allows for virtually unlimited customization and extension.
Download Eclipse here >> ECLIPSE DOWNLOAD

NETBEANSnetbeans-8-0-2-complete-bundle-free-download

NetBeans IDE Fits the Pieces Together Quickly and easily develop desktop, mobile and web applications with Java, JavaScript, HTML5, PHP, C/C++ and more..NetBeans IDE is FREE, open source, and has a worldwide community of users and developers.
Download Netbeans here>> NETBEANS DOWNLOAD

Java platforms

There are three key platforms upon which programmers develop Java applications:
  1. Java SE. Simple, stand-alone applications are developed using Java Standard Edition. Formerly known as J2SE, Java SE provides all of the APIs needed to develop traditional desktop applications.
  2. Java EE. The Java Enterprise Edition, formerly known as J2EE, provides the ability to create server-side components that can respond to a web-based request-response cycle. This arrangement allows the creation of Java programs that can interact with internet-based clients, including web browsers, CORBA-based clients and even REST- and SOAP-based web services.
  3. Java ME. Java also provides a lightweight platform for mobile development known as Java Micro Edition, formerly known as J2ME. Java ME has proved a very popular platform for embedded device development, but it struggled to gain traction in the smartphone development arena. In terms of smartphone development, Android has become the mobile development platform of choice.