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 studying gender stratification cross-culturally, anthropologists find that:?
miss Akunina [59]
The social ranking where men typically inhabit higher status in a society than women is referred to as gender stratification. According to some cross-cultural studies done by some anthropologists, children as young as two or three are  socially aware of gender roles, and by the age of four or five, most children already established a culturally appropriate gender roles. These studies also reveal that the notion on gender roles were obtained through socialization, where they easily learn through observation how people behave and act in a particular way, as dictated by social values, beliefs and attitudes.
3 0
3 years ago
Which of the following is a limited government?
Artyom0805 [142]
Dictatorship I think Im not sure
7 0
3 years ago
What did the Selective Service Act accomplish?
Finger [1]

The Selective Service Act of 1917 accomplished the goal of enlisting enough men to serve in the military to be successful during World War I.

Further Explanation:

Once America was exposed to the Zimmerman Telegram and its message, it was inevitable that they would join World War I. In order to be fully prepared for this, the US government had to ensure that they had enough soldiers to fight against the central powers. This is when president Woodrow Wilson enacted the Selective Service Act.

This was a conscription law, meaning it essentially forced men between the ages of 21-35 to register with the US government for military service. Each man was given a number. If there number was picked by the US government, then these men were expected to show up for military training and to serve in the war.

This would not be the last time America used a law like this in order to increase the amount of men in the military. This strategy would also be used during World War II and the Vietnam War.

Learn More:

Causes of World War I- brainly.com/question/8020368

Key Details:

Topic: American History, World War I

Grade Level: 7-12

Keywords: Selective Service Act, World War I, conscription

7 0
3 years ago
Read 2 more answers
WHEN ITS 3 P.M. IN OREGON WHAT TIME IS IT AND MISSOURI
hichkok12 [17]
The time is 5pm if it is 3pm
3 0
3 years ago
Read 2 more answers
In what way is the north east wind useful​
galina1969 [7]

Answer:

Knowing the direction of the wind is an important part of predicting weather because wind brings us our weather. ... The arrow will point to the direction the wind is blowing from so if it is pointing to the east, it means the wind is coming from the east. Additionally, wind direction is where the wind is blowing from.

Explanation:

3 0
3 years ago
Other questions:
  • A fixed supply results in a supply line that __________. A. is vertical B. is horizontal C. shifts to the left D. shifts to the
    8·1 answer
  • Gloria, the star in the school play, must cry when her father tells her to leave home
    15·1 answer
  • How do doctors meet people's needs<br> how do doctors meet their needs?<br> plz answer this
    8·1 answer
  • How much arable land is in Australia ?
    12·2 answers
  • On average, a woman can expect to "lose" at least ______ inch(es) in height by the time she reaches age 70.
    6·1 answer
  • "Crime and deviance:________.a) can be the same or entirely different phenomena. b) tend to be one and the same; if something is
    15·1 answer
  • I am trying to learn the names of all 50 states. While I am actively remembering and recalling this information, it is considere
    10·2 answers
  • How much would 25 usd in Canada exchange rate 1 usd = .99 cad
    15·1 answer
  • Which statement BEST describes the limits on re-election for the members of the U.S. House of Representatives and the U.S. Senat
    8·2 answers
  • The lantern code used in the Old North Church to say how the British were coming was
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!