Solved

Consider an Object AWorker of Class Worker , and a Variable

Question 37

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents