A cryptid is a legendary creature that, if it exists, is an animal rather than a monster or supernatural entity. For example, yetis, bigfoot, and chupacabras are all cryptids. Use Prototype inheritance to create a cryptid object and a derived bigfoot object. The Cryptid should have a name, a height, and an attack method that prints something like "Bob the generic cryptid, 7 feet tall, attacks with its special weapon!". The bigfoot should *also* have a shoe size, and its attack should print a message like "Barry the bigfoot, 8 feet tall, stomps you !" Write code to demonstrate that your prototypes are correct. You do not need to take user input.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter9: Using Classes And Objects
Section: Chapter Questions
Problem 11E: a. Write a FractionDemo program that instantiates several Fraction objects and demonstrates that...
icon
Related questions
Question

Hello, in javascript please. Thank you!!

A cryptid is a legendary creature that, if it exists, is an animal rather than a monster or supernatural entity. For example, yetis, bigfoot, and chupacabras are all cryptids. Use Prototype inheritance to create a cryptid object and a derived bigfoot object. The Cryptid should have a name, a height, and an attack method that prints something like "Bob the generic cryptid, 7 feet tall, attacks with its special weapon!". The bigfoot should *also* have a shoe size, and its attack should print a message like "Barry the bigfoot, 8 feet tall, stomps you !"

Write code to demonstrate that your prototypes are correct. You do not need to take user input. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Math class and its different methods
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,