Solved

Consider an Object AWorker of Class Worker , and a Variable

Question 52

Multiple Choice

Consider an object aWorker of class Worker , and a variable aPerson of class Person , where Worker is a subclass of Person . Which of the following is valid without writing a specialized function?


A) aPerson + aWorker
B) aPerson * aWorker
C) aWorker = aPerson
D) aPerson = aWorker

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions