The first one and last one
Types in java are divided into two categories. the primitive types are boolean, byte, char, short, not, long, float, and double. all other types are REFERENCE types
B.) The addition of slide transitions
Answer: integer overflow
Explanation:
The type of attack has occurred in this scenario is a integer overflow. An integer overflow occurs when there's an attempt by an arithmetic operation to create a numeric value which is outside the range which the given numbers are able to represent.
In this, the integer overflow occurs when the result of the integer operation cannot be able to fit in the allocated memory space which then brings about an unexpected result.
Answer:
(d) if (radius > 0) System.out.println(radius * radius * 3.14159);
Explanation:
Given
Code segment (a) to (d)
Required
Which is correct
Code segment (a): radius <=0
This means that radius is 0 or less, i.e. 0 or negative
Code segment (b): radius !=0
This means that radius is not equal to 0 i.e. it could be positive or negative but definitely not 0
Code segment (c): radius >=0
This means that radius is 0 or greater, i.e. 0 or positive
Code segment (d): radius >0
This means that radius is greater than 0 i.e. positive
<em>Hence, (d) is correct</em>