Java MCQ Questions and Answers Quiz

51. JRE stands for _____.

  1. Java Reply Engine
  2. Java Runtime Engine
  3. Java Running Engine
  4. Java Runtime Environment

52. Which of the following is considered as platform independent code?

  1. Source Code
  2. Compiled code

53. Java is called as platform independent language. Do you agree with this statement?

  1. Yes
  2. No

54. We can run same java program on different environment with same JDK version.

  1. true
  2. false

55. Java has ______ primtive types of data.

  1. 9
  2. 8
  3. 6
  4. 7

56. Which of the following is smallest integer data type?

  1. Bytecode
  2. int
  3. short
  4. long

57. Which of the following is not a primitive data type?

  1. Internet Explorer
  2. enum
  3. short
  4. byte

58. Integer Data type does not include following primitive data type.

  1. long
  2. double
  3. short
  4. byte

59. Which of the following data types comes under floating data types: 1.Float 2.Int 3.Double 4.Byte 5.Long

  1. 1 and 2
  2. 1 and 3
  3. 2 and 3
  4. 4 and 5

60. Character data type cannot store following value.

  1. Special character
  2. string
  3. letter
  4. digit
Tags

MCQ Multiple Choice Questions and Answers on Java

Java Question and Answer