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…

AJAX: What it is and how to use it in Scriptcase

Hello, in this post we will conceptually understand the AJAX event and how use  inside the Scriptca...

What advantages for a company in adopting a low-code tool?

Let's understand how low-code tools have become a facilitator in the web development process as they...

How to implement A2F using Swivel in a Scriptcase application

I want to start talking about Swivel, Swivel is a provider of authentication solutions who have been...

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.