【单选题】对于外露环境,且对大气腐蚀有特殊要求的或在腐蚀性气态和固态介质作用下的承重结构,宜采用( )。
【单选题】Windows Communication Foundation (WCF) application uses a data contract that has several data members. You need the application to throw a Serialization Exception if any of the data members are not pr...
A.
Add the Known Type attribute to the data contract.Set a default value in each of the data member declarations.
B.
Add the Known Type attribute to the data contract.Set the Order property of each data member to unique integer value.
C.
Set the Emit Default Value property of each data member to false.
D.
Set the Is Required property of each data member to true.
【判断题】运动员赛前饮用1000ml矿泉水可以提高机体的水合状态,提高运动成绩。
【单选题】What exception type does the following program throw? public class Test { public static void main(String[] args) { Object o = new Object(); String d = (String)o; } }
C.
StringIndexOutOfBoundsException
【单选题】What is true about constructor?
A.
It can contain return type
B.
It can take any number of parameters
C.
It can have any non access modifiers
D.
Constructor cannot throw an exception
【单选题】What exception type does the following program throw? public class Test { public static void main(String[] args) { Object o = null; System.out.println(o.toString()); } }
A.
ArrayIndexOutOfBoundsException