About 12,300,000 results
Open links in new tab
  1. What is the difference between "instantiated" and "initialized"?

    To initialize means assigning an initial state to the object before it is used. This initialization can be part of the instantiation process, in that case values are explicitly assigned to object attributes in the …

  2. How to directly initialize a HashMap (in a literal way)?

    How to directly initialize a HashMap (in a literal way)? Asked 14 years, 4 months ago Modified 4 months ago Viewed 2.1m times

  3. Java: define terms initialization, declaration and assignment

    Declaration, Initialization, and Assignment are all included in The Java Tutorials Trail: Learning the Java Language.

  4. How to initialize a struct in accordance with C programming language ...

    } An important thing to remember: at the moment you initialize even one object/variable in the struct, all of its other variables will be initialized to default value. If you don't initialize the values in your struct …

  5. How can I initialize all members of an array to the same value?

    How would you use memset to initialize a int array to some value larger than 255? memset only works if the array is byte sized.

  6. Calling UserForm_Initialize() in a Module - Stack Overflow

    Dec 20, 2012 · How can I call UserForm_Initialize() in a Module instead of the UserForm code object?

  7. Proper way to initialize C++ structs - Stack Overflow

    Jan 21, 2017 · The new syntax with () should value-initialize the object, assuming it is POD. Is it possible that some subpart of your struct isn't actually POD and that's preventing the expected initialization? …

  8. initialization - Initializing variables in C - Stack Overflow

    These are just a couple of examples where it isn't strictly necessary to initialize a variable, since it's set later (but not accessed between declaration and initialization). In general though, it doesn't hurt to …

  9. How to initialize a struct in C# - Stack Overflow

    Oct 15, 2010 · How to initialize a struct in C# [duplicate] Asked 15 years, 1 month ago Modified 15 years, 1 month ago Viewed 49k times

  10. How to initialize a list with constructor? - Stack Overflow

    Feb 1, 2012 · Using a collection initializer From C# 3, you can use collection initializers to construct a List and populate it using a single expression. The following example constructs a Human and its …