Answer:
scope of pet name is limited to pet class and color is accessible to the whole program
Explanation:
The compound condition are:
- 7<12 or 50!=10 is false
- 7<12 and 50<50 is false
- not (8==3) is true
<h3>What is compound condition?</h3>
A compound statement is known to be one that shows up as the body of another statement, e.g. as in if statement.
The compound condition are:
- 7<12 or 50!=10 is false
- 7<12 and 50<50 is false
- not (8==3) is true
Learn more about compound condition from
brainly.com/question/18450679
#SPJ1
<h2>Many properties can be listed out viz. durability, quality, the sound that it produces also depends on the material that is used, etc.</h2>
Explanation:
1. If you take wood then I would say maple, rosewood, cedar, walnut can be used to make "String instruments".
Reason:
The wood that we choose should be perfect and should give long-life to use the instrument.
2. If we consider about strings, then I would suggest that the material that you choose should be "ductile and hard".
Reason:
Thin wires can be drawn.
3. In case of Brass, it should be "malleable metal", so that the outcome of the instrument will satisfy the need.
Answer:
D syntax
Explanation:
The marvelous attribute about the gaming industry is that you can create a game in several different programming languages to make it more appealing to novice and advanced-level coders. Yet, the unique distinction is that every single programming language has its own syntax.
Answer:
The code is given below
Explanation:
The correct syntax would be to place appropriate parenthesis.
(month==1?"jan":(month==2?"feb":(month==3?"mar":(month==4?"apr":(month==5?"may":(month==6?"jun":(month==7?"jul":(month==8?"aug":(month==9?"sep":(month==10?"oct":(month==11?"nov":"dec")))))))))));
Similarly, you can also use the following code:
String[] months = { "jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec" };
int month = 1;
String monthDescription = months[month - 1];