nerdexam
Magento

M70-301 · Question #85

M70-301 Question #85: Real Exam Question with Answer & Explanation

Sign in or unlock M70-301 to reveal the answer and full explanation for question #85. The question stem and answer options stay visible for context.

Question

Your project, which uses prototype.js, contains the JavaScript class Photoviewer (see EXAMPLE, below). Which one of the following code samples will create a class called AdvancedPhotoViewer that extends Photoviewe r? EXAMPLE: var PhotoViewer = Class.create();

Options

  • Avar AdvancedPhotoViewer = new PhotoViewer()
  • BAdvancedPhotoViewer.prototype = Object.extend (new PhotoViewer ()
  • Cvar AdvancedPhotoViewer = Class.extend (PhotoViewer)
  • DAdvancedPhotoViewer = PhotoViewer.extend ()

Unlock M70-301 to see the answer

You've previewed enough free M70-301 questions. Unlock M70-301 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 M70-301 Practice