How to start Coding Java for beginners

This section contains information you should Know before Starting java. In this section i we be teathing you how to write java programing language for absolute bigginners so let go on java programming

This section also contains information you should review before using this book and instructions
to ensure that your computer is set up properly for use with this book. We’ll post
updates (if any) to the Before You Begin section on the book’s website:

1.1 Introduction

Welcome to Java,the world’s most widely used computer programming language. You’re
already familiar with the powerful tasks computers perform. following this, you’ll
write instructions commanding computers to perform those kinds of tasks. Software (i.e.,
the instructions you write) controls hardware (i.e., computers).
You’ll learn object-oriented programming,today’s key programming methodology.
You’ll create and work with many software objects in this text.
Java is the preferred language for meeting many organizations’ enterprise programming
needs. Java has also become the language of choice for implementing Internet-based
applications and software for devices that communicate over a network.
In use today are more than a billion general-purpose computers and billions more
Java-enabled cell phones, smartphones and handheld devices (such as tablet computers).
According to a study by eMarketer, the number of mobile Internet users will reach approximately
130-134 million by 2013. One other studies have projected smartphone sales to surpass
personal computer sales in 2012 and tablet sales to account for over 20% of all personal
computer sales by 2015. By 2014, the smartphone applications market is expected to
exceed $40 billion,4 which is creating significant opportunities for programming mobile
applications.
Java Editions: SE, EE and ME
Java has evolved so rapidly that the latest edition of Java has high performance it is highly platform independent to point of view. Java has evolved so rapidly that this ninth edition of Java How to Program—based on Java
Standard Edition 6 (Java SE 6) with optional modules on the new features of Java SE 7—
was published just 14 years after the first edition. Java is used in such a broad spectrum of
applications that it has two other editions. The Java Enterprise Edition (Java EE) is geared
toward developing large-scale, distributed networking applications and web-based applications.
In the past, most computer applications ran on “standalone” computers (comput-ers that were not networked together). Today’s applications can be written with the aim
of communicating among the world’s computers via the Internet and the web. Later in
this book we discuss how to build such web-based applications with Java.
The Java Micro Edition (Java ME) is geared toward developing applications for
small, memory-constrained devices, such as BlackBerry smartphones. Google’s Android
operating system—used on numerous smartphones, tablets (small, lightweight mobile
computers with touch screens), e-readers and other devices—uses a customized version of
Java not based on Java ME.So that is a explaination on java let go into java in details.

1.2How to Install JDK and IDE
For you to Start writing in java you need to download two basic softwares on your computer, the first software is  JDK (Java Development Kit) this allow you to write java on your computer, and also you need to get a text editor to write like notepad, notepad++ ,subline Text, but i recommend you to yous to use IDE like eclipse, netbeans intallJ etc but am using eclipse and netbans for my tutorial for my youtube videos. Download this software and install them, am using eclipe you can download eclipes also just type eclipe or jdk  you we see click on the first link them follow the steps choose the version of your system 64 or 32bit .
 Eclipe my be a zip file extract it and lunch the extracted one you may pin to tab if you like you can also type netbeans+jdk all thesame then you r good to go.for better understanding my java programming language.



Note: If you don't have JDK,JVM install in your computer you can't run or write java code on your device,so it is very inportant for you to intall JDK


How to create project




For you you to start creating a project in java using netbeans or eclipes is a very easy thing just folow this simple steps to get started. In this tutorial we will be building ATM app data can withdraw and check balace and so on. so this are the steps

1) Lunch netbean or eclipse am lunching netbeans IDE(Integrated Development Environment ) for this lecture


2)At the top left Conner click in file click next.
3)Click on create new project or new java project click.


4)Give your project a name.

5)Click finish.

 Then wait for it to load the main class if you are using netbeans it may take a while, then you are are good to go,  you can now start writing your code. 
But if you are using eclipse IDE after creating a project the IDE will not create a package or any class for you. You will have to create them your self and it is very important to have at list one main method in your  project. So to create a class goto 




>>> your project you just created .
>>> right click on the src .
>>>click on package .
>>> give your package name and click finish.
>>> right click on your package you have create.
>> click class.
>>> give the class any name  you w get to understand what class is all about  but don't worry for now. just follow this process.
>>> click finish. And you will find some thing like this:


Then you we type the this, if you're using eclipse IDE but netbean we automatically write the main method for you Don't worry about what method is now because i we be explaining to you in this tutorial  System.out.print("Hello Word!");



Then  if you Run the project it we display
Hello Word!.




If you did not get this i have video tutorial on this page that main help you  and i also have videos
on youtube follow this link HERE . I think article help you a lot stay with me and learn more.








Comments