12/30/12

The new technologies in Java

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 location 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 steal books in the library's branch.In the first state we could start doing is discover at these requirements and situation each of the words which happen to be nouns. For the represent, a noun is really a person, residence or thing. Thus, when you assess these requirements we distinguish the aforesaid nouns:1) Library2) Book3) Branch4) 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.

Those languages may include C++, C#, Objective-C, Python, Ruby, and Visual Basic.There are a lot more notions that happen to be important in O-O programming languages including inheritance, multiformity along with encapsulation. If you are interested in figuring out much more Object Oriented programming as it pertains to the Java language, there are many breathtaking Java manual blogs in existence nowadays.




About the Author:



your ad here

comments

0 Responses to "The new technologies in Java"

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!