StackOverflow Questions for Tag: object-initialization

Philippe Lavoie
Philippe Lavoie

Reputation: 2593

Setting properties via object initialization or not: Any difference?

Score: 38

Views: 13008

Answers: 5

Read More
user3086972
user3086972

Reputation: 103

What is the use of square brackets ([]) when constructing an object in C#

Score: 3

Views: 3803

Answers: 2

Read More
FallingBrick
FallingBrick

Reputation: 21

How to initialize object attributes from an array of strings in Python?

Score: 2

Views: 298

Answers: 0

Read More
atiyar
atiyar

Reputation: 8338

Initialization of a JavaScript/ES5 object using a constructor with Getter/Setter

Score: 0

Views: 813

Answers: 2

Read More
mrchance
mrchance

Reputation: 1175

C++ how to declare a "complex" object inside a loop?

Score: 0

Views: 421

Answers: 2

Read More
Chris W.
Chris W.

Reputation: 2366

How to identify / get automated hints with cyclic object initialization causing deadlocks in Scala?

Score: 0

Views: 107

Answers: 1

Read More
myregm
myregm

Reputation: 67

How can I initialize an array of objects?

Score: 2

Views: 394

Answers: 4

Read More
vel
vel

Reputation: 1200

PowerShell - Class Attribute is second Class but not getting any values for their attributes

Score: 0

Views: 46

Answers: 1

Read More
Wobbles
Wobbles

Reputation: 3135

Get a instance of an type without calling constructors but still initialize fields/properties;

Score: 1

Views: 504

Answers: 2

Read More
RangerReturn
RangerReturn

Reputation: 171

Object initialization in Java using Dependency Injection

Score: 0

Views: 714

Answers: 1

Read More
LogicalGooGoo
LogicalGooGoo

Reputation: 111

Should private methods check if object is properly initialized

Score: 1

Views: 82

Answers: 1

Read More
Mathias
Mathias

Reputation: 25

Java: Alternative to declaring empty constructor to initialize an object from another class

Score: 1

Views: 1383

Answers: 2

Read More
Mike Sr
Mike Sr

Reputation: 543

How to fix IDE0017 when using File Dialogs

Score: 1

Views: 891

Answers: 1

Read More
PetrosP
PetrosP

Reputation: 665

Scala: Overridden value parent code is run but value is not assigned at parent

Score: 4

Views: 491

Answers: 1

Read More
SwiftMango
SwiftMango

Reputation: 15284

Why does implement abstract method using val and call from superclass in val expression return NullPointerException

Score: 1

Views: 311

Answers: 1

Read More
A. D
A. D

Reputation: 45

Assertions in abstract superclass scala creating NPE

Score: 3

Views: 99

Answers: 1

Read More
sabcyang
sabcyang

Reputation: 53

Java Double Object initialization with other Number type objects

Score: 5

Views: 1550

Answers: 1

Read More
ThomasRones
ThomasRones

Reputation: 683

vb.net create objects in for each loop from partial info in Ienumerable

Score: 0

Views: 299

Answers: 1

Read More

Object as a parameter of itself in lisp

Score: 3

Views: 853

Answers: 3

Read More
Doodly Studmuffin
Doodly Studmuffin

Reputation: 91

Nested transaction scopes constructed with object initialization results in error

Score: 5

Views: 3045

Answers: 2

Read More
PreviousPage 1Next