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
Lera25 [3.4K]
3 years ago
9

Any concrete subclass that extends class Foo ________. must implement a method called calculate will not be able to access the i

nstance variable a Neither must implement a method called calculate nor will not be able to access the instance variable a. Both must implement a method called calculate and will not be able to access the instance variable a.
Social Studies
1 answer:
Tema [17]3 years ago
7 0

Answer:

both must implement a method called calculate and will not be able to access the instance variable.

Explanation:

Based on the information provided within the question it can be said that any concrete subclass that extends class Foo both must implement a method called calculate and will not be able to access the instance variable. As shown in the code above the method inside the Foo subclass needs to exist outside of it in order for it to be called, and since the a variable is an instance variable (meaning it is only accessible by code inside the function) it cannot be used by extending classes.

You might be interested in
Which of these is an example of the doctrinal dimension of religion? A. going on a pilgrimage B. sacrificial offerings C. follow
madam [21]

B.

A sacrificial offering is performed according to the special rules and prescriptions which are determined by the doctrinal body of religious work. . A religious doctrine is based in the intellectual arguments from which the belief in the religion can be deduced. Thus, a sacrificial offering has a purpose within the religion´s doctrine and it´s own belief system.

8 0
3 years ago
it is aliterary form simply defined as a patterned expressions of ideas or imaginative terms usually containing rhymes and meter
STALIN [3.7K]

Answer:

Poetry

Explanation:

In literature, poetry is defined as the written expression of thoughts and ideas that possesses a rhythmic quality. It is a form of free expression that allows an author - poet - to describe a situation, thought, or narrate a story in a dramatic and a very emotional, sometimes romantic, manner.

There are three main types of poetry: <em>dramatic, lyrical, </em>and <em>narrative</em>. A poem differs from a story due to the presence of rhymes and meters which make this literary device so unique.

4 0
3 years ago
.
jarptica [38.1K]
B a dinosaur because it’s a compression fossil
8 0
3 years ago
Read 2 more answers
54. What type of thematic map is used to describe migration flows of humans, animals, shipping, etc.
PolarNik [594]
I believe it is flow line
8 0
3 years ago
A primary way that hiv infection contributes to global hunger is by disqualifying families affected by aids from local food dist
kompoz [17]
I believe the answer is: <span>causing the disability or death of young adults who are the primary wage earners in a family.

When a large number of young adults died to a certain illness, the would be a decrease in workforce's regeneration.
This would cause a situation where the economy is forced to slow down because nobody can replace the older workers whose productivity would keep decreasing.</span>
8 0
3 years ago
Other questions:
  • In the United States, of the young adults who move from one state to another to attend college, the percentage who attend colleg
    13·1 answer
  • ___________ intelligence suggests that leaders are most effective when they understand people in organizations and have a passio
    8·2 answers
  • There are currently how many craft breweries on long land
    9·1 answer
  • The difference between hearing and listening is (Select all that apply) Select one or more: a. very small; the two processes amo
    7·1 answer
  • Which of the following kingdoms was the first to take control of the salt trade
    11·2 answers
  • Question 31 of 32
    6·1 answer
  • The south based their economy on..?
    13·1 answer
  • Write any two prerequisites and infrastructure of development( any two points)​
    12·1 answer
  • What term is used to identify a functional protein like this one that is formed when two identical polypeptides join together?
    11·1 answer
  • Outline four ways in which knowledge of the Ghana map is useful
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!