answersLogoWhite

0

What is instantious?

Updated: 12/6/2022
User Avatar

Wiki User

11y ago

Best Answer

Instantiate is a word used in Java terminology to signify the creation of a new object.

Ex: String name = new String("Rocky");

Here we are instantiating an object of type String.

User Avatar

Immanuel Connelly

Lvl 10
1y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

In programming terms, it is when you create an instance of a variable.

Instantiation is different that declaration, though, in many cases, they happen at the same time.

For example:

Integer i;

is a declaration, telling us that i is a type of Object known as Integer.

i = new Integer();

is an instantiation, where the variable i (who should have previously been Declared) now has a specific instance of it. That is, there is a structure created in memory that is assigned to i

Integer i = new Integer();

is a Declaration and Instantiation wrapped all together.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is instantious?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions