Thursday, 11 August 2016

Learn Java for complete Beginners (Step by Step guide)


Learning java can give you headaches if you are a beginner. Why? Because before starting to learn Java programming, you need to prepare your machine. You need to install everything you need for java programming, making it suitable for coding in Java language.  But don’t you worry…I will arm you with all the tools you need to get started, including this
 Java Tutorial for Beginners.

First off, some introductions. Java is a high-level, object-oriented programming language developed by Sun Microsystems. Learning Java has its incentives, as it’s a powerful language for developing desktop applications, web applications, and many smart devices run on Java. Java is also a platform-independent programming language, highly portable. If your computer runs on Windows, Linux or Mac OS, they all are same for Java because it runs on virtual machine.

Checklist before you start coding

So, first things first – before writing your first code in Java, you need to install what is called as Java virtual machine (JVM), also known as Java Runtime Environment (JRE). JRE can be downloaded from this link:



One that’s complete, you will have JVM installed on your PC. That allows Java programme to run on your machine. To write and test the Java codes, you need to install Java’s software development kit (JDK). The JDK can be downloaded from this link:


Here, you have a bewildering list of options to download from. Look for Java SE (Standard Edition). One of the links on this webpage will enable you to download JDK and NetBeans. More explanation on NetBeans in a bit. Install the JDK on your machine, and be sure that you are downloading all the software appropriate to your Operating System. You should be clear about whether you have a 32-bit or a 64-bit OS.

What’s the next step? How do you compile and run a Java programme?

Before moving on to the next step i.e., IDEs, let’s talk about some nitty-gritties of how Java programme works. You always start writing codes in a text editor (you will find in-built text editors with IDEs: NetBeans, Eclipse, or Jcreator), called the source code which is saved with a file extension .java. The java compiler (Javac) turns the source code into a class file with extension .class. Once you have the class file, it can be run on JVM. Now to make this process hassle free, IDEs come to rescue.


Now, what’s the next step in java learning?

Let’s get your hands dirty with this IDE thing. The IDEs (Interface Development Environment) take care of all the creating and compiling of jobs for you behind the scenes. They takes your code, create the java file, launch compiler to arrive at class file, and let you run your programme. Here is a list of some quality IDEs like:

Eclipse – a free, popular program. (Learn Java Programming Using Eclipse)
Netbeans – another free program; it is open source and available in many languages.
Jcreator – A for-pay program that provides a bit more power than most other IDEs.

As described in this Java course, once you install your IDE, you will need to begin a new file to program in.  Exactly how this is done will depend on your particular IDE.

1 Brief intro of How to start using IDEs for Java coding
learn java programming language for complete beginners.this vedio covers topic related to what is java and how to install it on your computer.





2 How java works and how to install ecllips
this vedio covers topic related to how to works,java virtual machine,java ide,java jdk,java byte code and how to install ecllips on your computer





3 Creating your first java program (Hello world)
make your first ever java program "hello world".Learn how to create a java program for complete beginners.



4 Understanding different variables in java program
This vedio cover all the topics related to variables in java.Learn and study about different kinds of variables in java and their uses.


5 String,understanding classes and objects
This vedio covers all the topic related to class,objects,Strings in java.watch this step by step tutorial vedio to understand all the basics of java classes and objects




6 Using and understanding while loop and its syntax
This vedio covers all the topic related to while loop.Learn how to use while loop in your program to run conditional based functions




7 Getting familier with for loop
Learn the use of for loop and proper syntax of how to add for loop in your java programs.




8 Using if else statement in java
Learn how to apply if else statement in java.Learn the proper syntax and functioning of if-else statement.



Thats sit for now more vedio comming very soon 
visit my youtube channel for more programming languages
Till Then Keep Learning

No comments:
Write comments