Which code segment should you insert at line 10?
A. var weight = reader.GetDouble(1); var price = reader.GetDecimal(2); var status = reader.GetBoolean(3);
B. var weight = reader. GetDecimal (1); var price = reader. GetFloat (2); var status = reader.GetByte(3);
C. var weight = reader.GetDouble(1); var price = reader.GetFloat(2); var status = reader.GetBoolean(3);
D. var weight = reader.GetFloat(1); var price = reader.GetDouble(2); var status = reader.GetByte(3);
Answer:A
Which code segment should you insert at line 10?
A. var weight = reader.GetDouble(1); var price = reader.GetDecimal(2); var status = reader.GetBoolean(3); B. var weight = reader. GetDecimal (1); var price = reader. GetFloat (2); var status = reader.GetByte(3); C. var weight = reader.GetDouble(1); var price = reader.GetFloat(2); var status = reader.GetBoolean(3); D. var weight = reader.GetFloat(1); var price = reader.GetDouble(2); var status = reader.GetByte(3);