Answer:
2. <em>A reference of type A can be treated as a reference of type B</em> - False
Base class or its objects are not related to their derived class (or its objects).
Explanation:
class A {
int a;
public A() {
a = 7;
}
}
class B extends A {
int b;
public B() {
b = 8;
}
}
///////////////////////////////////////////////////////////////////////////////////////////////////////
1. <em>After the constructor for class B executes, the variable a will have the value 7 </em>- True.
When an object of a derived class is declared, the constructor of base class is called before the constructor of derived class (is called).
3. <em>Both variables a and b are instance variables </em>- True.
Classes can have instance, or member, variables and methods.
4.<em> After the constructor for class B executes, the variable b will have the value 8</em> - True.
When object of class B is declared, its constructor was called, which initialized variable b to 8.
<span>Beside homework, what products can you use for personal use? Identify three uses and briefly describe.
</span>
Answer:
144°
Explanation:
The sum of the measures of interior angles of a quadrilateral is 360°
The ratio of angle measures is 1:2:3:4
Total ratio = 1+2+3+4=10
The angles will be :
1/10 * 360°= 36°
2/10*360°=72°
3/10*360°=108°
4/10*360°=144°
The largest angle is 144°
D. All of the above.
<u>Reason:</u>
A. Fences can get in the way of a beautiful picture.
B: The animal's enclosure may be hard to get the perfect snap. Like a rock can be in the way of the animal. idk...lol
C. People want to see the animal as much as you do so they may block the way of a picture.
Example from Google..XD
Thesaurus is a tool use to find the synonym of the of a word.
Here's the way to use the thesaurus in the word processor.
=> highlight the word, then right-click, Navigate to synonyms and the words will display.