Java Data Type Quiz May 20, 2021 Leave a Comment on Java Data Type Quiz Welcome to your Java Data Type Quiz. You are attempting the quiz on November 30, 2023 For your information, please note that this Java Data Type Quiz has only single choice questions. Read each and every questions carefully before you start answering. You will have 5 min to complete the quiz. After completion of test you can see your quiz result with sharing option, You can share your quiz result to social media like Facebook, Instagram etc. Note: You can view all the answers at the end of this quiz. Best of luck for LTE Java Data Type Quiz 1. Which data type value is returned by all transcendental math function? double long float int 2. What is the numerical range of a char data type in Java? 0 to 256 0 to 65535 -128 to 127 0 to 32767 3. Which right shift operator preserves the sign of the value? <<= << >>= >> 4. Which of these statement are incorrect Equal to operator has least precedence Brackets () have highest precedence Division operator . /, has higher precedence that multiplication Addition operator . +, and subtraction operator have equal precedence 5. All the variables of interface should be? Public, static , final Default and final Default and static Protect , static , final 6. Which of these can’t be used for a variable in Java? Identifier and Keyword None Keyword Identifier 7. Which operator is used to invert all the digit in binary representation of a number? ^ ~ <<< >>> Please fill in the comment box below.