Result in violence such a riots revolution and genocide
Answer:
a) public class Bear extends Animal{
...
}
public class Zoo
{ private Animal[] myAnimals;
...
}
Explanation:
The question is an illustration of inheritance in Java programming language.
The syntax to follow is:
class subclass extends superclass {...}
From the question:
Bear subclass
Animal superclass
So, the following declaration will be used:
class Bear extends Animal{
...
}
Also from the question, the zoo object represents collection of many animals.
So, its declaration will follow:
class class-name{ ..... }
i.e.
class zoo{ .... }
The ... can then be replaced with declaration of each animal or an array to represent the declarations..
<em>Hence, (e) is correct</em>
Answer:
1. x - 6
2. p - ? = 7
i chose these equations because
a number - 6 = the weight of your backpack.
p - an unknown number without a substitute variable = slices of bread left.