## Which of the following represent(s) a hexadecimal number?

Q35. Which of the following represent(s) a hexadecimal number? 570 (hex)5 0X9G 0X5 Ans. 4. 0X5

## The range of values for the long type data is

Q34. The range of values for the long type data is: -231 to 231 -264 to 264 -263 to 263

## The modulus operator(%) can be used only with integer operands.

Q33. The modulus operator(%) can be used only with integer operands. True/ False? Ans. False. Modulus operator can work with

## Which class is used for using different mathematical methods in Java program?

Q31. Which class is used for using different mathematical methods in Java program? Ans. Math class is used for using different

## Resultant type of the following expression bh – i + db / fl – i * fl + db / i, (int) ( fl + db )

Q30. What will be the resultant type of the following expression is if bh represents a byte variable, i is

## Java expressions: ut+1/2ft2, |a|+b>=|b|+a,  e|2x^2-4x|

Q27. Write equivalent Java expressions for the following expressions: ut+1/2ft2 |a|+b>=|b|+a  e|2x^2-4x| Ans 1. ut+1/2ft2 u*t+1/2*f*t*t Ans 2. |a|+b>=|b|+a

## Type Casting and Type Cast Operator.

Q29. What do you mean by type casting? What is type cast operator? Ans. The explicit conversion of an operand

## Implicit and Explicit Type Conversion.

Q28. What is meant by implicit and explicit type conversion? Ans.  Implicit Type Conversion: An implicit type conversion is a conversion