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
Can someone help me with this question
lakkis [162]

Answer:

C.

Explanation: It cant be option A because agriculture is not the most important in the economy. Hope it helped :)

6 0
3 years ago
After battle of Lexington and concord who was president
Lyrx [107]
Abraham Lincoln was the president
5 0
3 years ago
Which area on the map represents Montgomery?<br><br> A) 1 <br> B) 2 <br> C) 3 <br> D) 4
notka56 [123]

The answer for that question is 2

5 0
3 years ago
Read 2 more answers
Persons who are diagnosed with disorders belonging to the erratic group tend to:_______
Artemon [7]

Answer:

Be dramatic, overly emotional and unpredictable.

Explanation:

Personality disorders are divided into three main clusters, Cluster A: containing Paranoid, Schizotypal and schizoid personality disorder, Cluster B: Containing Antisocial, Borderline, Histrionic and Narcissistic personality disorder, and Cluster C: Containing Evasive, Obsessive-compulsive and Dependent personality disorder.

Cluster B is also known as the Erratic group.

People who are diagnosed with disorders belonging to this group tend to be overly dramatic, emotional and unpredictable. They also tend to be manipulative, enjoy using others and some can lack empathy, especially if they are diagnosed with either narcissist or antisocial personality disorder.

8 0
3 years ago
Ken wants to purchase a new smartphone and knows it will cost him about $300. How much will he have to save a month if he wants
Evgesh-ka [11]

Answer: $60

Explanation: 60 x 5 is 300, boom.

7 0
3 years ago
Other questions:
  • Help please
    15·1 answer
  • Which school of psychology is most associated with pioneering research on learning?
    6·1 answer
  • Dr. simpson defines personality as "distinctive, characteristic patterns of thought, emotion and behavior that uniquely define a
    13·1 answer
  • this story is notable for its use of a "frame device" : in this case, an outside narrator-he gives the stage, so to speak, to a
    14·1 answer
  • How did the vast Incan empire address the problems caused by its size
    13·1 answer
  • Which feature of Vimeo allows users to accept small cash payments from other users?
    15·2 answers
  • Why are some magazine considered a part of mainstream media?
    15·1 answer
  • Justine is a botanist who loves to conducts studies in the field. She just received a grant that will allow her to study the lif
    7·2 answers
  • When working in a fume hood, what is the best position of the hood sash?
    13·1 answer
  • Create a short story; Must include information about energy transformation and must be creative. MUST BE AT LEAST TWO PARAGRAPHS
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!