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
Question: Explain how events such as the Vietnam War and Watergate affected the American public’s opinion of the U.S government.
matrenka [14]

Answer:

First create a biography you can make on at Easybib.com

Find four sources.

create an essay use quotes .

Explanation:

6 0
3 years ago
The local mean time for the East always is​
jarptica [38.1K]

Answer:

Local Mean Time is the Mean Solar Time for a specific location on Earth. It is the same for all locations that share the same longitude.

Explanation:

<h2>BRAINLIEST PLEASE</h2>

CARRY ON LEARNING

4 0
2 years ago
Which statement is true about the population of Japan?
Simora [160]

Answer:

wehfbgesfvsdkjchvuyi wiehgida iquhgiehfoaiwahgeiugh  A ORUGHEIRUFHPOSE A The five phases of matter. There are four natural states of matter: Solids, liquids, gases and plasma. The fifth state is the man-made Bose-Einstein condensates. In a solid, particles are packed tightly together so they don't move much.eriuh9ireghiueaiugkjhzljhsdjkgfysvhajfguilaehffgeuyefguksefgekygrufkhfdkjffjkfgfghehoszdifoeihoiefhfashfjcnmjsdhofoiinfjshfoufrsufjkhefoujwkenfwnsfjksgfhdv

Explanation:

6 0
3 years ago
Women and their rights during the American Road to Revolution
Ivanshal [37]

Answer:

women could sue and be sued, write wills, serve as guardians, and act as executors of estates.

6 0
3 years ago
The United States is a __ __, meaning we vote for individuals that we believe represent voters in the government
irga5000 [103]

Answer:

Presidental Democracy

Explanation:

8 0
3 years ago
Other questions:
  • What was an advantage of the Land Ordinance of 1785? It included a bill of rights.It allowed statehood for Alaska and Hawaii. It
    9·2 answers
  • During a time of revolution, what is the best approach for a leader to use?
    8·2 answers
  • Max, one of two boys in the fight: “That kid is psycho. He turned around and punched me out of nowhere. Me and my friends were s
    10·1 answer
  • Finally, friends whom you haven't seen in years, long-lost relatives, and even mere acquaintances will begin calling in february
    14·1 answer
  • ​A 16-year-old male suspect is detained and questioned by his school principal regarding drugs found in his school locker. The b
    9·1 answer
  • Supply of a product is likely to go up in which situation?
    14·1 answer
  • The purpose of the general council was to _____________________.
    8·2 answers
  • What roles can the teacher and student play for the social reform​
    7·1 answer
  • What was passed after President Garfield was killed by a man disappointed he didn't get a government job?
    5·1 answer
  • write down any two function performed by the caretaker government from under the chairmanship of subarna Shamsher in Nepal​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!