CIW Exam Questions

Which of the following will correctly declare the EmployeeID variable as a string data type?

Which of the following will correctly declare the EmployeeID variable as a string data type?

A.
string EmployeeID = 123;

B.
string EmployeeID = “123”;

C.
var EmployeeID = 123;

D.
var EmployeeID = “123”;

Explanation: