若一个项目由9个主要任务构成,其计划图(如下图所示)展示了任务之间的前后关系以及每个任务所需天数,该项目的关键路径是(6),完成项目所需的最短时间是(7)天。
A.A→B→C→D→I
B.A→B→C→E→I
C.A→B→C→F→G→I
D.A→B→C→F→H→I
相关问题推荐
-
public class Test { public static void main(String [] args) { int x =5; boolean b1 = true; boolean b2 = false; if((x==4) && !b2) System.out.print(”l “); System.out.print(”2 “); if ((b2 = true) && b1) System.out.print(”3 “); } } What is the result?()
A、 2
B、 3
C、 1 2
D、 2 3
E、 1 2 3
F、 Compilation fails.
G、 Au exceptional is thrown at runtime.
-
What is the numerical range of a char?()
A、 0 ... 32767
B、 0 ... 65535
C、 –256 ... 255
D、 –32768 ... 32767
E、 Range is platform dependent.
-
Which statements concerning the methods notify() and notifyAll() are true?
AInstances of class Thread have a method called notify().
BA call to the method notify() will wake the thread that currently owns the monitor of the object.
CThe method notify() is synchronized.
DThe method notifyAll() is defined in class Thread.
EWhen there is more than one thread waiting to obtain the monitor of an object, there is no way to be sure which thread will be notified by the notify() method.
-
Given a file GrizzlyBear.java: 1. package animals.mammals; 2. 3. public class GrizzlyBear extends Bear { 4. void hunt() { 5. Salmon s = findSalmon(); 6. s.consume(); 7. } 8. } and another file, Salmon.java: 1. package animals.fish; 2. 3. public class Salmon extends Fish { 4. void consume() { /* do stuff */ } 5. } Assume both classes are defined in the correct directories for theft packages, and that the Mammal class correctly defines the findSalmon() method. Which two changes allow this code to compile correctly?()
Aadd public to the start of line 4 in Salmon.java
Badd public to the start of line 4 in GrizzlyBear.java
Cadd import animals.mammals.*; at line 2 in Salmon.java
Dadd import animals.fish.*; at line 2 in GrizzlyBear.java
Eadd import animals.fish.Salmon.*; at line 2 in GrizzlyBear.java
Fadd import animals.mammals.GrizzlyBear.*;at line 2 in Salmon.java
-
What is the result?()
A、 3, 2, 1
B、 1, 2, 3
C、 Compilation fails.
D、 The code runs with no output.
E、 An exception is thrown at runtime.