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 theorist believed that modern society produced anomie, a confusing, rule-less state? Group of answer choices Jane Addams M
Lesechka [4]

The answer is Emile Durkheim

4 0
3 years ago
What is behavior modification psychology?
BartSMP [9]

The answer about Behavior modification is explained below.  

Explanation:

When a behavior, which is undesirable, is changed or modified by using a therapeutic approach, it is called as the behavior modification.

People's behaviors are modified using a system of positive or negative consequences, through which people learn the correct set of responses for any stimulus.

There are many types of behavior modification. Some are as follows:

  • Positive reinforcement.
  • Negative reinforcement.
  • Punishment.
  • Extinction, etc.

Behavior modification is considered to be violating a person's freedom and self determination, because people are made to learn some predefined rules and standards, rather than acting on their own. That is why their freedom of self expression and self determination is often seen to be violated.

Learn more about Behavior Modification at:

brainly.com/question/5037977

#LearnWithBrainly

6 0
2 years ago
Which innovation had the GREATEST impact on westward migration immediately after the American Civil War
valina [46]

The Transcontinental Railroad innovation had the GREATEST impact on westward migration immediately after the American Civil War.

After the Civil War, there was great interest and opportunity with westward expansion. With the invention of the railroad, the transport of goods and people became quicker and less expensive than ever before.

5 0
2 years ago
Read 2 more answers
For a laboratory investigation some students put a strip of shiny metal into a beaker of blue solution and then stored the beake
alexandr1967 [171]

Answer:I got this question on my test and knew the question so to the ppl that need the answer it is.. Yes, because a new material of a different color formed on a part of the metal strip.

Explanation:

6 0
3 years ago
How did manifest destiny create problems between native americans and settlers?
Delvig [45]
Settlers believed that they were destined to expand their land from sea to sea (east to west USA) but the native americans have been inhabiting the western lands for countless years, created conflicts between groups.
5 0
2 years ago
Other questions:
  • Scenario: TeleToys Inc. TeleToys Inc., a U.S.-based company, recently opened eighteen new toy stores in Brazil, acquired a women
    6·1 answer
  • Parents should ideally make their expectations known ahead of time to help guide the child.
    11·2 answers
  • What are concurrent powers
    11·2 answers
  • Which of the following statements is​ correct? A. Actual investment will equal planned investment only when inventories rise. B.
    15·1 answer
  • Owen has trouble remembering a friend's new phone number; he keeps recalling the old number instead. Completing a rental applica
    9·1 answer
  • How do Tim O'Brien's protest and military service reflect what Americans were thinking about the Vietnam War?
    13·1 answer
  • Which empire was described as "an old, crazy, first-rate man of war" but because of incompetent leadership was destined to be "d
    8·1 answer
  • Jenn and Clara are identical twins. Jenn developed schizophrenia when she was 19, but Clara shows no symptoms of the disorder an
    14·1 answer
  • A.
    7·2 answers
  • james is interested in investigating how chemicals in the environment, mainly in the water or in the air, affect human body syst
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!