1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Maslowich
2 years ago
9

For questions 19 - 21, assume that Student, Employee and Retired are all subclasses of Person, and all four classes have differe

nt implementations of the method getMoney. Consider the following code where ... are the required parameters for the constructors:
Person p = new Person(...);
int m1 = p.getMoney( ); // assignment 1
p = new Student(...);
int m2 = p.getMoney( ); // assignment 2
if (m2 < 100000) p = new Employee(...);
else if (m1 > 50000) p = new Retired(...);
int m3 = p.getMoney( ); // assignment 3

The reference to getMoney( ) in assignment 1 is to the class

Person
Student
Employee
Retired
this cannot be determined by examining the code
Computers and Technology
1 answer:
olga nikolaevna [1]2 years ago
3 0

Answer:

Person

Explanation:

At

Person p = new Person(...);

int m1 = p.getMoney( ); // assignment 1

Person class which is base class for all sub class (Student, Employee and Retired ) creates an object which referenced is stored in p variable, and  getMoney()  is method which refereed Person's getMoney() method, so Person is the answer of above question

You might be interested in
E-mail messages, instant messages (IMs), or text messages sent and/or received within an organization a. are not included on a r
Elanso [62]

Answer:

b. may be considered as records or non records

Explanation:

Message in an organization and even instant messages (IMs) can be considered as records or nonrecords, this depends on the content, nowadays in a company can be used apps like social media, important information can be stored between customers or partners, this no reduces any cost and the message can be deleted depends on the server settings.

6 0
2 years ago
...............is a personal computer that fits on desk.​
vesna_86 [32]

Answer:

desktop computer

Explanation:

8 0
3 years ago
Read 2 more answers
________ technologies are technologies that enable the incremental improvement of products and services.
nikdorinn [45]

<u>Sustaining</u> technologies are technologies that enable the incremental improvement of products and services.

Sustaining technology refers to the constant improvement of industrial activities which includes cost efficiency, product quality, and time.

Sustaining technology differs from disruptive technology in that disruptive technology identifies new opportunities and creates new products and services that the customers don't know about while sustaining technology enables the companies to compete with other associations by improving the products and services that the consumers already know about.

Sustaining technology works by identifying the needs and demands of the consumers and customers and can sometimes be a slow method.

Sustaining technologies enable companies to maintain their existing customer base and at the same time improve their existing products.

To learn more about sustaining technologies, click here:

brainly.com/question/14838154

#SPJ4

4 0
1 year ago
Read 2 more answers
I dont understand this at all! PLZ help me
slavikrds [6]

Answer:

See explanation

Explanation:

Given

ex = [5,3,0,1,2]

Solving (a):

print(ex[0:2])

This prints the elements from 0 index to 2-1

In other words, it prints index 0 and 1

Hence, the output is [5, 3]

Solving (b):

ex.append(8) --> This adds 8 to the end of the list

print(ex) --> This prints the updated list: [5, 3, 0, 1, 2, 8]

Solving (c):

ex.remove(0) --> This removes 0 from the list

print(ex) --> This prints the updated list: [5, 3, 1, 2, 8]

Solving (d):

ex.pop() --> This removes the last ite, from the list

print(ex) --> This prints the updated list: [5, 3, 1, 2]

4 0
3 years ago
Marcus creates a HTML webpage on his favourite game, football. On clicking the word “football” another website containing the in
shtirl [24]
I can’t see the following tags that he could’ve possibly used
3 0
2 years ago
Other questions:
  • The technology (software) that automatically downloads website information to your computer is called ________.'
    15·1 answer
  • What is a way to minimize technical problems with computer
    13·1 answer
  • Click _______ to view each individual record of a mail merge document.
    5·2 answers
  • Type the correct answer in the box. Spell all words correctly.
    12·1 answer
  • . Business-to-business integration (B2Bi) is vital for efficient and accurate flow of data across internal ISs and external busi
    11·1 answer
  • You can rotate a selected graphic by dragging a ________ rotation handle
    13·1 answer
  • Imagine that you have access to a class named MyCircle that has void setRadius(double r) and double getRadius() methods. Write a
    14·1 answer
  • Which command could you use to change to the /usr directory using a relative pathname?
    8·1 answer
  • Write a program to calculate sum of first ten natural numbers​
    13·1 answer
  • write a recursive bool valued function containsvowel that accepts a string and returns true if the string contains a vowel
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!