Answer:
The answer is "Option A"
Explanation:
In the given java code, a class "Test" is defined, inside the main method try and catch block is used, inside the try block method "p()" is called, that print a message. in this block two catch block is used, that works on "NumberFormatException" and "RuntimeException". In the method "p" declaration, a string variable "s" is defined, that holds double value, that is "5.6", and converts its value into the wrong integer, and other wrong option can be described as follows:
- In option B, it is wrong, it is not followed by after call method.
- In option C, It is not followed by runtime exception, that's why it is incorrect.
- Option D and Option E both were wrong because they can't give run time and compile-time error.
When two or more computers are connected it is called Local Area Network (LAN).
Answer:
In a <u>little endian computer</u> -The data's least substantial byte is put at the lower address byte. The remaining information will be put in memory in order in the next three bytes.
a)1234
4 is placed at the least significant bits,so this byte stored at lower memory address.
1 is placed at the most significant bits,so this byte stored at higher memory address.
b) ABFC
C is placed at the least significant bits,so this byte stored at lower memory address.
A is placed at the most significant bits,so this byte stored at higher memory address.
c) B100
0 is placed at the least significant bits,so this byte stored at lower memory address.
B is placed at the most significant bits,so this byte stored at higher memory address.
d) B800
0 is placed at the least significant bits,so this byte stored at lower memory address.
B is placed at the most significant bits,so this byte stored at higher memory address.
Answer:
list = {10, 18, 24, 75, 70, 20, 60, 35}
Explanation:
Selection is a sorting algorithm that will set a cursor position and search for a minimum number from the list. When the minimum number is found, that minimum number will be swapped with the number in the cursor position. Only one number will be swapped and sorted in one iteration of outer loop. To sort the next number in the following outer loop iteration, the cursor will be moved to the next position and repeat the same search and swapping process as in the first iteration. When finishing all the iterations of outer loop, all numbers shall be sorted in ascending order.
Um whichever is better for you! ummm whats the point of this question?