Tag Archives: Top 20 Java Programming MCQ’s Questions and Answers

Top 20 Java Programming MCQ’s Questions and Answers

               

  1. What is the range of short data type in Java?
    1. -32768 to 32767
    2. -128 to 127
    3. -2147483648 to 2147483647
    4. None of the mentioned                                                                                                                                      Ans a.( -32768 to 32767)
  2. Which of these literals can be contained in float data type variable?
error: Bhai Bhut Mehnat lagi hai?