1) A
2)D
3)C
4)A
5)D
Hope this will help u
Complete question is attached as snapshot.
Answer:
This will result in a compilation error.
Here's the inheritance hierarchy:
Meg -> Lois -> Brian -> Stewie
Now Meg has 2 public Fxns, a() and toString().
Lois inherits from Meg and all its public functions as well but, overrides the a() fxn of its super class.
So finally Lois has fxns a(), b() and toString().
Brian extends Lois and inherits all the above listed fxns of Lois, but overrides the b() and toString() fxns.
Stewie extends Brian and inherits all the fxns of Brian, but overrides the a() and toString() fxns.
In the Main driver fxn, we call a() and b() methods of all these classes but, the base class Meg has no b() and it is not extending any class so its not available in its scope.
This results in a compilation error.
Explanation:
Answer:
9/8 of a pizza
Explanation:
3/4 -> 6/8
1/2 -> 4/8
5/8 -> 5/8
We can now add all of these:
6/8 + 4/8 + 5/8 = 15/8
The total amount of pizza is 24/8 because there are 3 pizzas.
24/8 - 15/8 = 9/8
5 is one bigger than 4, so it is 101
Note: this doesn't always work for every number.
the binary numbers 1-8 would be: 1, 10, 11, 100, 101, 110, 111, 1000
Can you guess 9?: 1001
10?: 1010
Hope this helps, <span>and May the Force Be With You!
-Jabba
</span>
Answer:
Active Attack
• It is an active attack 1, because someone is actively attacking your system. It is also an active attack because it is affecting the way your system works negatively, and visibly.
• 2, because they have been caught for actively committing a crime.
• lastly, because a brute-force is classified as an active attack, regardless. It is an illegal way to attempt to damage, steal or change a root password.
•<em> Fun fact </em>
<em>A DDoS(distributed denial-of-service) is also classified as an active attack.</em>