Top "Instantiation" questions

Instantiation is the process of creating objects from a class in most object oriented and object based languages.

Can't Instantiate Map...well why not?

Map<String, ArrayList<Pair<String, Integer>>> k = new Map<String, ArrayList<Pair&…

java instantiation
Class 'Room' is abstract; cannot be instantiated

I have a class an abstract class Room which has subclasses Family and Standard, I have created room = new ArrayList&…

java abstract-class instantiation
Does python have an equivalent to Java Class.forName()?

I have the need to take a string argument and create an object of the class named in that string …

java python class instantiation
Declaring an object before initializing it in c++

Is it possible to declare a variable in c++ without instantiating it? I want to do something like this: Animal …

c++ scope declaration instantiation
How do I reinitialize or reset the properties of a class?

I've created a class with properties that have default values. At some point in the object's lifetime, I'd like to "…

c# class properties instantiation
Is there a way to instantiate a class without calling __init__?

Is there a way to circumvent the constructor __init__ of a class in python? Example: class A(object): def __init__(…

python class constructor instantiation
Conditional instantiation of verilog module

Is it possible to instantiate a module conditionally in verliog ? example : if (en==1) then module1 instantiation else module2 instantiation

conditional instantiation verilog hdl
What's the difference between dict() and {}?

So let's say I wanna make a dictionary. We'll call it d. But there are multiple ways to initialize a …

python initialization instantiation
How to instantiate class from name string in Rails?

How we can instantiate class from it's name string in Ruby-on-Rails? For example we have it's name in database in …

ruby-on-rails ruby-on-rails-3 string class instantiation
Get Enum Instance from Class<? extends Enum> using String value?

I'm finding it difficult to put the exact question into words, so I'll just give an example. I have two …

java class reflection enums instantiation