Answer:
index.html:
<!DOCTYPE html>
<html>
<head>
<title>Brainly</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table id="myTable">
<caption>Duty Roster for last two days</caption>
<tr><th>Day</th><th>Morning</th><th>Afternoon</th></tr>
<tr><td>Monday</td><td colspan="2">John</td></tr>
<tr><td>Tuesday</td><td rowspan="2">Tom</td><td>Peter</td></tr>
<tr><td>Wednesday</td><td>simon</td></tr>
</table>
</body>
</html>
<u>style.css:</u>
#myTable {
background-color: Cyan;
border-collapse: collapse;
height: 200px;
width: 500px;
font-size: 20px;
}
#myTable td,th {
border: 2px black solid;
text-align: center;
}
#myTable td:first-child, th {
background-color: lightgray;
font-weight: bold;
}
Answer:
The code is given in the explanation section
Explanation:
//Class Airconditioner
public class AirConditioner {
private boolean turnOnOff;
//The Constructor
public AirConditioner(boolean turnOnOff) {
this.turnOnOff = turnOnOff;
}
//method turn_on
public void turn_on(){
this.turnOnOff = true;
}
//method turn_off
public void turn_off( ){
this.turnOnOff = false;
}
}
// A new class to test the airconditional class
class AircondionTest{
public static void main(String[] args) {
//Creating an object of the Aircondional class
AirConditioner office_a_c = new AirConditioner(false);
//Using the reference varible to call method turn_on
office_a_c.turn_on();
}
}
Answer:
321Go
Explanation:
The identifiers in C, C++, C#, Java and other programming languages are a combination of letters, numbers and the underscore symbol. The laters versions of C and C++ allows you to use almost all Unicode characters. In Java, you can use also the dollar sign.
From that you have to be careful to follow these rules:
-Don't use keywords.
-Don't include white spaces.
-Don't use operators.
-Don't repeat identifiers.
-Don't start your identifier with a number.
-Don't use two consecutive underscores.
So app_234, happyTimesAhead, and cis22B are follo wing these rules but 321Go starts with a number.
Answer:
B) You use parentheses around the data values
Explanation:
It was C) on my end, but the answer is still the same :)