以下对File类的public boolea isFile()方法的描述,哪个是正确的?()
A、判断该File对象所对应的是否是文件。
B、判断该File对象所对应的是否是目录。
C、返回文件的最后修改时间。
D、在当前目录下生成指定的目录
A、判断该File对象所对应的是否是文件。
B、判断该File对象所对应的是否是目录。
C、返回文件的最后修改时间。
D、在当前目录下生成指定的目录
A、public delegate bool Salary (Employee Emp, double Amount); B、public bool Salary (Employee Emp, double Amount); C、public event bool Salary (Employee Emp, double Amount); D、public delegate void Salary (Employee Emp, double Amount);
A、public delegate int PowerDeviceOn(bool, DateTime); B、public delegate bool PowerDeviceOn(Object, EventArgs); C、public delegate void PowerDeviceOn(DateTime); D、public delegate bool PowerDeviceOn(DateTime);
A、public delegate int PowerDeviceOn(bool result, DateTime autoPowerOff); B、public delegate bool PowerDeviceOn(object sender, EventArgs autoPowerOff); C、public delegate void PowerDeviceOn(DateTime autoPowerOff); D、public delegate bool PowerDeviceOn(DateTime autoPowerOff);
A、A.public delegate int PowerDeviceOn(bool result,DateTime autoPowerOff); B、B.public delegate bool PowerDeviceOn(object sender,EventArgs autoPowerOff); C、C.public delegate void PowerDeviceOn(DateTime autoPowerOff); D、D.public delegate bool PowerDeviceOn(DateTime autoPowerOff);
A、 public delegate bool Salary (Employee Emp, double Amount); B、 public bool Salary (Employee Emp, double Amount); C、 public event bool Salary (Employee Emp, double Amount); D、 public delegate void Salary (Employee Emp, double Amount);