Subscribe
Tutorial search

Introduction into Java programming - Java tutorial


This article gives you an overview about the Java programming and its basic principles
Category: Java tutorials - Difficulty:




Java, what is it? Is it a really difficult programming language that programmers should be afraid of? What is it used for? Hopefully we'll be able to answer these questions for you and more.

Java is an object-oriented programming language that was designed to meet the need for a platform independent language. Java is used to create applications that can run on a single computer as well as a distributed network. Java is both a language and a technology used to develop stand-alone and internet based applications.

Need for Java

Why java is needed despite of several languages?

The java language contains built-in support for the World Wide Web i.e., WWW, Which is a service of the internet to retrieve information in the form of web pages. The main motive behind developing java language was the portability and platform independent, which can be used to produce code in one and that, would run on a variety of environments.

Few types of applications are

  1. Application that use character user interface
  2. Applications that use Graphical user interface
  3. Applets
  4. Servlets
  5. Packages

Note: - Before you start with our java tutorials you should have some basic knowledge of OOPS Concepts.

Overview

This tutorial series will cover the basics of Java and how to write java programs and all the way to making your own Java Applications. This tutorial will provide enough Sample programs to make you understand the concepts quickly.

Before we enter into how to write java programs, we first learn about some of the important components of java.

  1. Java programming language
  2. Java class file
  3. Java virtual machine
  4. Java application programming interface(API)

Now we see how java works,

  1. Java programs are saved with an extension, .java.
  2. Java file is complied to generate a .class file which contains the bytecode
  3. JVM (Java Virtual Machine) forms the base for the java platform and is convenient to use on various hardware-based platforms.
  4. Java API is a collection of software components that provides capabilities, such as GUI. The Java API’s are grouped into packages.

Now when you have a basic understanding of java let's proceed to our Java tutorials and learn more about this great programming language