Chp2 - Test Question #1 (Error / Errata)
In chapter 2, question #1
Question: "You want to declare an integer variable called myVar and assign it the value 0. How can you accomplish this?"
Answer: "b. myVar = 0;"
This is incorrect. You haven't declared the variable, only assigned it a value. The answer should be: "d. int myVar = 0;"
Covaci, Tiberiu; Stephens, Rod; Varallo, Vincent; O'Brien, Gerry (2013-05-06). MCSD Certification Toolkit (Exam 70-483): Programming in C# (Kindle Locations 1702-1703). Wiley. Kindle Edition.
|