Answer:
1. tablets are less portable than smartphones
2. smartphones are considered necessities and tablets are considered luxuries
3. smartphones are personal devices; tablets are usually shared
4. Tablets have larger screens for more extensive use of applications as opposed to the smaller, less versatile mobile phone screens.
Answer:
B
Explanation:
You need Name , Age and Gender
the second requirement should only match the last row where age is 20 and gender is male.
thrid requirement of the query is that its syntax should be correct.
Option B staisfies all of required so it is the correct option.
The __Show/Hide Insert___ feature will allow users to view non printing formatting marks to aid in editing a document.
The answer is D. Show/Hide Insert
Let me know if this is correct
Answer:
Link-local address
Explanation:
IP addresses that have "FE80" as the hexadecimal representation of their first 10 bits are IPV6 reserved addresses for link-local unicast addressing. These addresses are automatically configured (though may be manually configured too) on any interface and should not be routed. They are used for addressing on a single link with the main aim, among others, of automatic configuration and routing protocol advertisement. Devices attached to this link can be accessed or reached using the link-local addresses as they don't need a global address to communicate.
However, routers will not forward datagram or packets using link-local addresses. In other words, routers are not allowed to connect to the internet using the unicast link-local addresses.
Answer:
public class Calculator {
private int total;
private int value;
public Calculator(int startingValue){
// no need to create a new total variable here, we need to set to the our instance total variable
total = startingValue;
value = 0;
}
public int add(int value){
//same here, no need to create a new total variable. We need to add the value to the instance total variable
total = total + value;
return total;
}
/**
* Adds the instance variable value to the total
*/
public int add(){
// no need to create a new total variable. We need to add the value to the instance total variable
total += value;
return total;
}
public int multiple(int value){
// no need to create a new total variable. We need to multiply the instance total variable by value.
total *= value;
return total;
}
//We need to specify which value refers to which variable. Otherwise, there will be confusion. Since you declare the parameter as value, you need to put this keyword before the instance variable so that it will be distinguishable by the compiler.
public void setValue(int value){
this.value = value;
}
public int getValue(){
return value;
}
}
Explanation:
I fixed the errors. You may see them as comments in the code