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
A group of students organizing a protest march would be an instance of what speech
Temka [501]
Fully Protected speech
3 0
3 years ago
__________ is the ability to understand oneself, exercise initiative, accept responsibility, and learn from experience.
Tpy6a [65]

self-management

hope it helps!

6 0
3 years ago
There are no limits to the rights granted by the Constitution.<br><br> True<br> False
Vladimir [108]

Answer: false their are limits

Explanation: Basic Constitutional Rights in the United States. ... But no rights are absolute. Government has the power to limit individuals' freedom under certain circumstances, like when they've committed a crime. And the First Amendment doesn't protect some speech, such as violent threats.

6 0
3 years ago
Read 2 more answers
Roger williams settled which colony as part of his effort to separate from the church of england?
ella [17]
<span>Providence colony. Roger was a Puritan. He was expelled from the colony of Massachusets by the leader of Puritan thinking that he was spreading dangerous ideas againt their beliefs. He became afraid of arrest and shipment to prison and fled away and began the settlement of Providence.</span>
5 0
3 years ago
Read 2 more answers
How was Feudal Japan different from modern day United States
stich3 [128]

Answer:

A key distinguishing factor between the two systems was land ownership. European knights gained land from their lords as payment for their military service; they had direct control of the serfs who worked that land. In contrast, Japanese samurai did not own any land.

Explanation:

4 0
2 years ago
Other questions:
  • A drug user who may feel several different emotions at once or swing rapidly from one emotion to another is probably under the i
    5·1 answer
  • Which country labeled on the map above has a population of 81 million people, the second-highest population in Europe?
    9·2 answers
  • The english createda system of _ when they first colonized north america
    14·1 answer
  • Chad and Melinda are sitting together on the couch, but Chad appears to be taking up much more space with his legs spread apart
    13·1 answer
  • Which term characterizes findings from the sample that make it possible to draw conclusions about the larger population than the
    10·1 answer
  • What did the United States Constitution do?
    11·1 answer
  • Contrast What were<br> the consequences of<br> the war for Filipinos?<br> for the Americans?
    15·1 answer
  • Ub
    5·1 answer
  • In the human body the breaking down of proteins and removal of waste takes place primarily in which two organ systems
    5·1 answer
  • The ________ is established by the Constitution and cannot be abolished by a congressional law. Group of answer choices Supreme
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!