nerdexam
IBM

C2140-842 · Question #35

Given the following: A script named BuyCD has been created. A Helper Superclass named HelperSuper1 has been created. A Helper Superclass named HelperSuper2 has been created. Which of the following…

The correct answer is A. BuyCD -> BuyCDHelper -> RationalTestScript D. BuyCD -> HelperSuper1 -> HelperSuper2 -> RationalTestScript. See the full explanation below for the reasoning.

Question

Given the following:

A script named BuyCD has been created. A Helper Superclass named HelperSuper1 has been created. A Helper Superclass named HelperSuper2 has been created. Which of the following are valid Functional Tester script class inheritance hierarchies? (Choose two.) Note: inherits from is expressed by the symbol ?

Options

  • ABuyCD -> BuyCDHelper -> RationalTestScript
  • BBuyCD -> HelperSuper1 -> RationalTestScript
  • CHelper1 -> RationalTestScript -> BuyCD
  • DBuyCD -> HelperSuper1 -> HelperSuper2 -> RationalTestScript

How the community answered

(60 responses)
  • A
    75% (45)
  • B
    17% (10)
  • C
    8% (5)

Community Discussion

No community discussion yet for this question.

Full C2140-842 Practice