posted 17 years ago
Hello Folks,
For the following question the answer is A, but I choose the answer is D.
Because there is no different between A & D and I don�t know why they using
<Main Class> . Pls advice me.
Thanks, Raghu.K
Question: -
The package favourite.fruits contains classes for different fruits. Orange is one of the classes in this package. Assume that all the classes from this package are compiled with assertions enabled. Which of the following will enable assertions at runtime for this package, but will disable it for the class Orange, using standard JDK 1.4?
Select any 1 option:
[A] java-ea:favorite.fruits�-da:favourite.fruits.Orange <Main Class>
[B] java-ea:favorite.fruits�,- da:favourite.fruits.Orange <Main Class>
[C] java-ea:favorite.fruits� -da: Orange <Main Class>
[D] java-ea:favorite.fruits� -da Orange <Main Class>
[E] None of these.