nerdexam
Adobe

9A0-182 · Question #27

Which code correctly defines the constructor for the Circle class? package { import flash.display.Sprite; public class Circle extends Sprite { !...Code Here...! { super(); } } }

The correct answer is B. public function Circle(). See the full explanation below for the reasoning.

Question

Which code correctly defines the constructor for the Circle class? package { import flash.display.Sprite; public class Circle extends Sprite { !...Code Here...! { super(); } } }

Options

  • Aprivate function Circle()
  • Bpublic function Circle()
  • Cpublic function Circle():void
  • Dpublic Circle()

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    82% (27)
  • C
    9% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-182 Practice