9 is the correct answer. 4*2=8 loops are executed, moving the count from 1 to 9.
Computer works on the Basis of multitasking.
Answer:
The correct answer to the following question is option "b".
Explanation:
The method having the same name but the arguments have different so it is called method overloading. It is a part of the object-oriented programming language (oops).
- In the given code we define same method two times that is "mystery()". but in this method, we pass two different parameters. For the first time, we pass a double variable that is "a" as a parameter. In the second time, we pass an integer variable that is "a" as a parameter and in both functions, we write some codes.
- In the calling time, we call function two times. In first time calling we pass an integer value that is "1" and second time calling we pass double value that is "1.0". So the output of this code is "int! double!".
That's why the option "b" is correct.
A. Citing sources for documents you found on the web
Explanation:
Age = 23.
To convert a base 10 number to hexadecimal number we have to repeatedly divide the decimal number by 16 until it becomes zero and store the remainder in the reverse direction of obtaining them.
23/16=1 remainder = 5
1/16=0 remainder = 1
Now writing the remainders in reverse direction that is 15.
My age in hexadecimal number is (15)₁₆.