black

MCPD(70-536)

登录

单项选择题

You have recently completely creating a new application for Certkiller .com.
This new application has to load an instance of the Inventory class from a large file named Inventory.dat.
You need to ensure that the application executes the loading process in as little time as possible.
What should you do?()

A.
B.
C.
D.

相关考题

单项选择题 you have recently written the code shown below: Hashtable emailAddresses = new Hashtable (); emailAddresses.Add ("Mia", "mia@ Certkiller .com"); emailAddresses.Add ("Andy", "andy@ Certkiller .com"); emailAddresses.Add ("Kara", "kara@ Certkiller .com"); You need to ensure that these e-mail addresses are stored in the Email.dat file so that you can load them again when the user restarts the application. What should you do?()

单项选择题 You have recently written the code shown below: Hashtable emailAddresses = new Hashtable (); emailAddresses.Add ("Mia", "mia@ Certkiller .com"); emailAddresses.Add ("Andy", "andy@ Certkiller .com"); emailAddresses.Add ("Kara", "kara@ Certkiller .com"); FileStream stream = new FileStream ("Email.dat", FileMode.Create); BinaryFormatter formatter = new BinaryFormatter (); formatter.Serialize (stream, emailAddresses); You need to ensure that you are able to load the emailAddresses object from the Email.dat file into your application. What should you do?()

单项选择题 您最近创建了一个名为车辆的可序列化的类。 类如下所示: [Serializable] public class Vehicle { public string VIN; public string Make; private string Model; private int Year; private string Owner; } Certkiller.com 不想要序列化一个车辆对象,出于安全原因时永久保存的所有者字段。 您需要确保实现这一目标。 你应该做什么?()

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064