Since a subclass can inherit the variables or methods of the superclass, the instances which the report will return is: B. MyCo-HR-SelfService-Work-TimeOff and MyCo-HR-SelfService-Work-Expense.
<h3>What is a class?</h3>
A class can be defined as a user-defined blueprint (prototype) or template that is typically used by software programmers to create objects and define the data types, categories, and methods that should be associated with these objects.
In object-oriented programming (OOP) language, an object class represents the superclass of every other classes when using a programming language such as Java. Also, the superclass is more or less like a general class in an inheritance hierarchy.
Since a subclass can inherit the variables or methods of the superclass, the instances which the report will return is "MyCo-HR-SelfService-Work-TimeOff and MyCo-HR-SelfService-Work-Expense" because they are declared within the class group.
Read more on object class here: brainly.com/question/27999316
#SPJ1
Complete Question:
Consider the following Work-derived classes that belong to the same class group:
MyCo-HR-SelfService-Work
MyCo-HR-SelfService-Work-TimeOff
MyCo-HR-SelfService-Work-Expense
There are no instances of MyCo-HR-SelfService-Work.
If a report is created in MyCo-HR-SelfService-Work, what instances will the report return?
Group of answer choices.
A. MyCo-HR-SelfService-Work-TimeOff and MyCo-HR-SelfService-Work-Expense, only if the "Report on Descendant Class Instances" checkbox is selected
B. MyCo-HR-SelfService-Work-TimeOff and MyCo-HR-SelfService-Work-Expense
C. No records
D. Instances of all Work- derived classes