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
When did bangla language got international recognition?​
grigory [225]

Answer:

First announced by UNESCO on 17 November 1999, it was formally recognized by the United Nations General Assembly with the adoption of UN resolution 56/262 in 2002.

8 0
2 years ago
3. Reptiles are
tester [92]
B!!
it’s adapted Reptiles are adapted to change in air temperature
8 0
3 years ago
Trees are a natural resource in Arkansas. They are often harvested for lumber. How does Arkansas keep this natural resource from
ELEN [110]

Answer:

Arkansas used in Arkansas Wildlife Action Plan, forests ensure that all natural resources are sustained in a manner to provide, maintain and enhance the economic benefits and values of trees and forests, Arkansas is an important wood producer, contributing 3.5 percent of the total

Explanation:

3 0
3 years ago
PLEASE HELP WILL MARK BRAINLIEST
tia_tia [17]

Answer:

A

Explanation:

5 0
3 years ago
What factors determine where illegal immigrants settle?
Art [367]
Proximity is the factor that determine where the illegal immigrants settle. The country like United States, has so many illegal immigrants that hope to have a better life in the country, they risk their life just to have  money in the country because they know that country is rich so they migrate in the United states.
3 0
3 years ago
Other questions:
  • How in today America do our leaders reach us personally
    5·1 answer
  • Heather's mother maintains an orderly household. heather's bedroom at home is very neat, with a place for everything and everyth
    5·1 answer
  • The idea that âall people are created equalâ would be characteristic of which type of culture?
    6·1 answer
  • In a study that was conducted at a high school in Chicago, researchers focused on the types of interactions that took place amon
    12·1 answer
  • Which of the following best summarizes the role of men in American Indian Society?
    12·1 answer
  • Write a three-page personal essay (about 1000 to 1500 words) about a time when you failed at something but learned a valuable le
    5·1 answer
  • In 13th century Hungary, the Mongal invasions caused..
    11·1 answer
  • What titles are given to the head of state of Japan and India?
    8·2 answers
  • A country without constitution is like a ship without a captain. Justify the statement.
    7·1 answer
  • In Maslow's hierarchy of needs, the desire for love and acceptance would fall into the category of __________ needs.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!