PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

You are creating an application that manages information about zoo animals. The
application includes a class named Animal and a method named Save.
The Save() method must be strongly typed. It must allow only types inherited from the
Animal class that uses a constructor that accepts no parameters.
You need to implement the Save() method.
Which code segment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

3 Comments on “Which code segment should you use?


Leave a Reply