In the object oriented programming, everytime that a new object is created is necessary to instance it. That means that it will be necessary to store an exclusive space in the memory to him, as it happen to the variables. This way, the computer understand that the object can be used while the application is running or as the page is been processed in the case of WEB Applications.

Mostly of the programming languages oriented to objects, the instruction “new” is used to indicate that a new object will be created or instantiated has it is more common to say, like the example bellow:

var Car = new car();

In the example that we instantiated, a new object of car type, from now on, all the attributes and methods calls belonged to the object can be called using the variable “car”.

02.01

Despise simple, the instance process of an object is something that requires a lot of careful because everytime an object is created, he occupy a space in memory that needs to be deconstructed when is no longer utilized. In the JAVA, for example, the Garbage Colletor is responsible to clean from the memory objects that are not in use, a similar resource that is also are into in others languages in order to improve the codes performance.

You might also like…

Do they pay for your system or code?

For all those who develop system and softwares every day at work: Have you ever wondered what makes...

What is Business Intelligence anyways?

Surely you have listened about the expression, “BI” or “Business Intelligence”, the questio...

Scriptcase & Web Services

This time I will explain how to work with web services inside the Scriptcase, directly with PHP and...

You might also like…

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.