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…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

Comment this post

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.