nerdexam
Microsoft

MB6-890 · Question #84

MB6-890 Question #84: Real Exam Question with Answer & Explanation

Sign in or unlock MB6-890 to reveal the answer and full explanation for question #84. The question stem and answer options stay visible for context.

Question

You have the following X++ classes: class ProductDimensionAttribute; { string attribute void getAttribute() { return "Color"; } } Class ColorDiraensionAttnibute extends ProductDimensionAttribute { void getAttribute( ) { return "Green"; } } You also have a runnable class which has the following code: ProductDimensionAttribute dimension; ColorDimensionAttribute color = new ColorDimensionAttribute(); info(color.getAttnibute()); dimension = color; inf o(dimension . getAttribute()) ; Which output is correct if you run the above code that is part of the runnable class?

Options

  • AGreen Color
  • BGreen Green
  • CColor Color
  • DColor Green

Unlock MB6-890 to see the answer

You've previewed enough free MB6-890 questions. Unlock MB6-890 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full MB6-890 Practice