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
Why did Spanish plantation owners in the West Indies begin using enslaved Africans instead of enslaved natives?
adelina 88 [10]

Answer:

Correct answer is European diseases had killed much of the native workforce.

Explanation:

As we all know around 90 percent of Natives died because of the diseases and other problems that were brought to them by Europeans. That is why they could only turn themselves to slave trade. Slaves were usually imported from Africa.

Other answers are false, especially options one and three, which have no connection with historical events. When it comes to option 4 it was actually pretty often that Africans would sell slaves to Europeans.

5 0
3 years ago
Read 2 more answers
In the context of political perceptions, people everywhere perceive mediators and the media as
lana [24]

The political perception on all people is that they perceive the mediators and the media as always biased against their position.

<h3>What is a political perception?</h3>

A political perception refers to the public perception towards the politicians and the media who work for them  

In conclusion, the political perception on all people is that they perceive the mediators and the media as always biased against their position.

Read more about political perception

<em>brainly.com/question/10031513</em>

4 0
3 years ago
If Ohio has 18 electoral votes how many members does it have in the house of Representatives
Jet001 [13]

8 in 1816 & 1820

16 in 1824 & 1828

21 in 1832, 1836 & 1840

23 from 1844 through 1860

21 in 1864 & 1868

22 in 1872, 1876 & 1880

23 from 1884 through 1908

24 from 1912 through 1928

26 in 1932, 1936 & 1940

26 in 1964 & 1968

25 in 1972, 1976 & 1980

23 in 1984 & 1988

21 in 1992, 1996 & 2000

20 in 2004 & 2008

18 in 2012, 2016 & 2020

25 from 1944 through 1960

7 0
4 years ago
Boston has a Longitude of approximately _____.<br>43° N<br>65° W<br>52° N<br>71° W​
Greeley [361]

Answer:

43

Explanation:

It is nowhere close 71 or 65

6 0
3 years ago
Read 2 more answers
Why would you not expect to find live plants or photosynthetic plankton in the deep-water zone of a lake?
svetlana [45]

Answer:

there is no sun

Explanation:

plants and organisms need the sun to produce there food.

8 0
3 years ago
Other questions:
  • Where did the salt come from when trading with Ancient Ghana?
    5·1 answer
  • When a person believes that other groups have "natural" cultural characteristics and there are no variations within a specific c
    8·1 answer
  • In which way does the popularity of modern sports help advance a society?
    13·2 answers
  • After several years with the publishing house that Jessica started at after college, she has been promoted to manager of the fic
    9·1 answer
  • “Speak softly and carry a big stick” was a phrase TR said. What does it mean? what does it mean for foreign policy ? PLZ HELP
    6·1 answer
  • What was the key provision of the civil rights act of 1964?
    7·1 answer
  • Which answer is NOT one of the basic economic decisions that every society must make.
    5·2 answers
  • By the 1790s the ideas of the anti-federalists contributed most directly to the
    10·1 answer
  • Help me please!!!!!!!!!!!!!!!!!
    13·2 answers
  • 15) How does specialization lead to increased productivity?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!