Tuesday, December 25, 2012

The best programming language

By Alex Smith


Java is called object-oriented language. Thus, exactly what does Object Oriented indicate? This means that the basis of almost any computer program built-in Java may very well be imagined in terms of Objects. A good example of this idea is to take a look at some sample business requirements for a product. Imagine that we are actually tasked to develop a computer program that has to manage a huge public library system.

This system will have to calculation for the whole set of branches belonging to the libraries, each of the informations that might be contained in the branches, in addition to any particular visitors that may would like to take books in the library's branch.In the first place we could begin doing is look at these requirements and spot each of the words which happen to be nouns. For the record, a noun is really a person, place or thing. Thus, when you assess these requirements we distinguish the aforesaid nouns:1) Library 2) Book 3) Branch 4) CustomerAll of these phrases specifically symbolize Objects in Java. That is, in principle, Object Oriented programming (aka O-O programming).

What we might now go about doing, is just pass these 4 items on to a single piece of old fashioned paper, and start to find what types of attributes each one of these Objects possess What do I mean by attributes? So, in OO development it is often called as recognition the "has a" relationships. For example, a path "has an" address, a Book "has a" title, a Customer "has a" designation.

We could map out all of the significant attributes that all of these Objects have, and build ourselves a superb beginning point for the design of any Java application.Object Oriented development enables developers to believe in terms of real world "things" or Objects, and just solve problems with those Objects. It is expedient to note that Java is virtually not the only O-O programming language in existence, as it was virtually established nearly five decades ago and a lot of well-known programming languages make use of Object Oriented principles.

These languages may include C#, Ruby, C++, Python, Objective-C and Visual Basic.There are many more concepts that are necessary in OO programming languages including, polymorphism, inheritance along with encapsulation. If you are interested in figuring out much more Object-Oriented programming as it pertains to the Java language, there are lots of terrific Java tutorial blogs currently exist.




About the Author:



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.