Answer:
The answer is "Option b".
Explanation:
In the choice b, a public class "Employee" is declared, in which two private variables "name and salary" is declared whose data type is a string and double. At this, the class is accessible outside the scope but it variable accessible in the class only and the wrong choice can be defined as follows:
- In choice a, datatypes access modifiers were different that's why it is wrong.
- In choice c and d both classes use a priavte access modifier, which means it can't accessible outside that's why it is wrong.
Hi, you haven't provided the programing language in which you need the code, I'll just explain how to do it using Python, and you can apply a similar method for any programming language.
Answer:
def rightMost(num):
lenNum = len(str(num))
rightNum = num%(10**(lenNum-1))
print(rightNum)
return(rightNum)
Explanation:
In this function we receive an integer number, then we find how many digits this number has, and finally, we find the rightmost digits; the main operation is modulo (takes the remainder after a division), what we want is to take all the digits except the first one, for that reason we find the modulo of the number when divided by ten to the power of the length of the number minus one, for example, if the number is 2734 we divided by 10^(4-1), where four is the length of the number, this way we get 2734/1000 and the module of it is 734.
Answer:
the answer might be 2......
Answer:
1 you can transfer photos or files from one device to another
2 you can store photos or files so you save space on a device
3 not sure lol
Explanation:
What needs to be done is hook it up to ur computer then wait for the driver to install and rhen ur done