any class
only the Target class
any class in the test package
any class that extends Target
第1题:
下面哪个选项正确示例了传递一个参数给applet? ( )
A.<applet code=Test.class age=33 width=100 heigh=100>
B.<param name=age value=33>
C.<applet code=Test.class name-age value=33 width=100 height=100>
D.<applet Test 33>
第2题:
A.nmap -ss -o target.test.com/24
B.nmap -sU -O target.test.com/24
C.nmap -sS -O target.test.com/24
D.nmap -iR -O target.test.com/24
第3题:
Class TestException 1. public class TestException extends Exception { 2. } Class a: 1. public class a { 2. 3. public String sayHello(String name) throws TestException { 4. 5. if(name == null) { 6. throw new TestException(); 7. } 8. 9. return “Hello “+ name; 10. } 11. 12. } A programmer wants to use this code in an application: 45. A a=new A(); 46. System.out.println(a.sayHello(”John”)); Which two are true?()
第4题:
class A { public A() { System.out.println(“hello from a”); } } class B extends A { public B () { System.out.println(“hello from b”); super(); } } public class Test { public static void main(String args[]) { A a = new B(); } } What is the result when main is executed?()
第5题:
when a user clicks a link in the left frame of the Review application, the linked data displays in the frame on the right. What did Kristin to do allow this to happen?()
第6题:
10. public class ClassA { 11. public void methodA() { 12. ClassB classB = new ClassB(); 13. classB.getValue(); 14. } 15. } And: 20. class ClassB { 21. public ClassC classC; 22. 23. public String getValue() { 24. return classC.getValue(); 25. } 26. } And: 30. class ClassC { 31. public String value; 32. 33. public String getValue() { 34. value = “ClassB”; 35. return value; 36. } 37. } Given: ClassA a = new ClassA(); a.methodA(); What is the result?()
第7题:
The Provider ID can be any string.
The Provider ID can only include alphanumeric characters.
The Provider ID must match the prefix of Target URLs in SSO requests.
The Provider ID must match the Succinct ID configured at the Service Provider.
第8题:
any class
only the Target class
any class in the test package
any class that extends Target
第9题:
entered the name of the target frame in hotspot properties
entered the name of the target in frameset properties
entered the position of the target frame in frame properties
entered the position of target frame in hotspot properties. a name other than location
第10题:
any class
only the Target class
any class in the test package
any class that extends Target
第11题:
Compilation fails.
hello from a
hello from b
hello from b hello from a
hello from a hello from b
第12题:
Line 4 of class Target can be changed to return i++;
Line 2 of class Target can be changed to private int i = 1;
Line 3 of class Target can be changed to private int addOne() {
Line 2 of class Target can be changed to private Integer i = 0;
第13题:
使下列程序正常运行并且输出“Hello!”,横线处应填写的内容是( )。 class Test { public static void main(string[]args){ Test t=new Test; start; } Public void run{ System.out.println("Hello!¨); )
A.extends Thread
B.extends Float
C.extends Iostream
D.extends Stdio
第14题:
1. public class Target { 2. private int i = 0; 3. public int addOne() { 4. return ++i; 5. } 6. } And: 1. public class Client { 2. public static void main(String[] args) { 3. System.out.println(new Target().addOne()); 4. } 5. } Which change can you make to Target without affecting Client?()
第15题:
package test; class Target{ public String name="hello"; } What can directly access and change the value of the variable name?()
第16题:
What limitations exist for a SAML Partner Provider ID configured at the Identity Provider?()
第17题:
package geometry; public class Hypotenuse { public InnerTriangle it = new InnerTriangle(); class InnerTriangle { public int base; public int height; } } Which is true about the class of an object that can reference the variable base? ()
第18题:
Given: 1.package test; 2. 3.class Target { 4.public String name = "hello";5.} What can directly access and change the value of the variable name?()
第19题:
It can be any class.
No class has access to base.
The class must belong to the geometry package.
The class must be a subclass of the class Hypotenuse.
第20题:
nmap -ss -o target.test.com/24
nmap -sU -O target.test.com/24
nmap -sS -O target.test.com/24
nmap -iR -O target.test.com/24
第21题:
any class
only the Target class
any class in the test package
any class that extends Target
第22题:
Compilation fails.
ClassC is displayed.
The code runs with no output.
An exception is thrown at runtime.
第23题:
any class
only the Target class
any class in the test package
any class that extends Target
第24题:
Class a will not compile.
Line 46 can throw the unchecked exception TestException.
Line 45 can throw the unchecked exception TestException.
Line 46 will compile if the enclosing method throws a TestException.
Line 46 will compile if enclosed in a try block, where TestException is caught.