Wednesday, August 31, 2011

Introduction to Java Programming Language

Introduction to Java Programming Language

Java is an Object Oriented Language that was designed to meet the need for a platform independent language. Java is used to develop applications that can run on a single computer as well as on a distributed network. Java is a language that can be used to develop stand-alone and internet-based applications. A Java application works everywhere, from the smallest devices, such as remote controls and microwave ovens to supercomputers. One good thing about Java programs is that they are independent of the type of computer, telephone, television or operating system these devices run on.  Java programs work on any type of compatible devices that support Java.

Need for Java

Saturday, August 27, 2011

Features of Object Oriented Programming

Features of Object Oriented Programming

Objects are the basic building blocks of Object Oriented Programming System. The real world objects have tow characteristics: State and behaviour. For example, human beings have state, such as name, color, age and height and behaviour such as walking and dancing. All the Objects in OOPS are based on real world having a specific state and behaviour.

Object Oriented Programming System consists of the following features:

  1. Encapsulation
  2. Abstraction
  3. Inheritance
  4. Polymorphism

Thursday, August 25, 2011

Advantages of Object Oriented Programming

Advantages of Object Oriented Programming

As discussed in my previous post, Object Oriented Programming enables you to reuse various components of a program across programs. Reusability of codes not only saves time but also the effort of the programming team.

Some of the advantages of Object Oriented Programming include:

  • Real world programming
  • Reusability of codes
  • Modularity of codes
  • Information hiding
Let’s try and discuss each of these advantages in details.

Object Oriented Programming (OOP) and Procedural Programming Approach

Object Oriented Programming (OOP)

Since Java is an Object Programming Language, I have decided to write on the concept of Object Oriented Programming before moving to details about Java. So in this post and a few subsequent posts, I shall be writing about the concept of Object Oriented Programming.

Before Object Oriented Programming came into effect, procedural programming was in use. Programs written using procedural programming approach consist of various functions. These functions can be executed anywhere within the program. The functions of procedural programs are interdependent; therefore they are difficult to separate from one another. These interdependent functions can not be reused in other programs. As a result, even for a similar task across programs, the entire function has to be recoded. This made program development a complex task.

Wednesday, August 24, 2011

About Java Programming Technology

About Java Programming Technology

Java Technology is both a Programming Language and a Platform.

Java Programming Language

Tuesday, August 23, 2011

History of Java Programming Language

My intention for this blog is to write what I know and understand about the Java Programming Language. I hope this help’s anybody seeking and wanting to learn Java Programming. I am going to start from the very beginning to enable visitors of my site learn the Language from the very start.

History of Java Programming

The microprocessor revolution’s most important contribution to date is that it made possible the development of personal computers. Personal Computers have greatly affected people’s lives and the ways organisations conduct and manage their businesses.  Recognising this, Sun Microsystems in 1991 funded an internal corporate research project named Green, which resulted in C++ based language that its creator, James Gosling, called Oak after an oak tree outside his window at Sun. it was later discovered that there was already a Programming Language called Oak. When a group of Sun Microsystems employees visited a local coffee shop, the name Java was suggested and that was how Java Programming Knowledge got its name.