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
The perspective that focuses on uncovering the fundamental mental components of perception, consciousness, and other mental stat
Studentka2010 [4]

Answer: Structuralism

Explanation:

 The structuralism is the term which is refers to the study of different types of fundamental elements or components such as consciousness, perception and the different types of mental states is known as the structuralism.

 The structuralism is one of the type of methodology which require various types of human culture elements for proper understanding the relationship in the system. This concept was developed by the Wilhelm Wundt in terms of structural psychology.  

 Therefore, Structuralism is the correct answer.

3 0
3 years ago
Describe how the Grinch changed throughout the story
jarptica [38.1K]

Answer:

At the beginning of the story, the Grinch wants to destroy Christmas, and he takes away everyone's presents but at the end of the story he changes and returns the presents and eats dinner with them.

Explanation:

6 0
3 years ago
Read 2 more answers
Please help me! Thanks to the people helping me, i appreciate it
Mumz [18]

Answer:

1. nontrade act 2. war pigeons 3. c  4. Fort Mchenry

Explanation:

hope this is right!!!!!

-maddie

4 0
3 years ago
What is the percentage of males in South Africa ​
atroni [7]
For 2021, Statistics South Africa (Stats SA) estimates the mid-year population at 60,14 million people. Approximately 51,1% (about 30,75 million) of the population is female and approximately 48,9% (about 29,39 million) is male.
5 0
2 years ago
Read 2 more answers
how did the women spend and share their time and responsibilities with their family members before in fiji​
swat32

Explanation:

milk egosu peynirini family

8 0
3 years ago
Other questions:
  • The u.s. constitution regularly allows ex post facto laws. <br> a. True <br> b. False
    12·1 answer
  • According to Frances F. Berdan's description of the
    5·1 answer
  • True or False?
    8·2 answers
  • 7. Which congressional action in the mid-1930s was intended to prevent the sale of
    12·2 answers
  • If you want to be perceived as trustworthy, caring, and credible with your girlfriend's parents, which interpersonal goal are yo
    13·1 answer
  • Most restaurant servers, flight attendants, and retail salespeople hide their true feelings and have a permanent smile stuck to
    9·1 answer
  • Why was keeping peace with the british important to the united states
    7·1 answer
  • Suzie, aged three, has to eat everything on her plate at dinner. When she does not, her father punishes her by sending her to be
    6·1 answer
  • Why would a court order a writ of habeas corpus?
    8·1 answer
  • if you could change anything in the world, what would it be? explain why and how you would change it.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!