Solved

Object Initializers (Which Initialize an Object and Its Properties)use What

Question 65

Multiple Choice

Object initializers (which initialize an object and its properties) use what syntax


A) new className(property1 - > value1, …) ;
B) new className(property1 = value1, …) ;
C) new className{property1 = value1, …};
D) className{property1 = value1, …};

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents