πŸ“Š JAVA
Q. JRE stands for
  • (A) Java Realtime Environment
  • (B) Java Rapid Enterprise
  • (C) Java Runtime Environment
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) Java Runtime Environment
πŸ“Š JAVA
Q. Java source files are compiled and converted to
  • (A) Object code
  • (B) machine code
  • (C) Bytecode
  • (D) executable file
πŸ’¬ Discuss
βœ… Correct Answer: (C) Bytecode
πŸ“Š JAVA
Q. JVM is ___________for bytecode.
  • (A) a compiler
  • (B) an interpreter
  • (C) assembler
  • (D) none of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) an interpreter
πŸ“Š JAVA
Q. What is the size of int data type in java?
  • (A) 1 bytes
  • (B) 2 bytes
  • (C) 4 bytes
  • (D) 8 bytes
πŸ’¬ Discuss
βœ… Correct Answer: (C) 4 bytes
πŸ“Š JAVA
Q. Which is a valid float literal?
  • (A) 1.23
  • (B) 2
  • (C) 1.23d
  • (D) 1.23f
πŸ’¬ Discuss
βœ… Correct Answer: (D) 1.23f
πŸ“Š JAVA
Q. What is the numerical range of a char in Java?
  • (A) -128 to 127
  • (B) 0 to 256
  • (C) 0 to 32767
  • (D) 0 to 65535
πŸ’¬ Discuss
βœ… Correct Answer: (D) 0 to 65535
πŸ“Š JAVA
Q. Which of these coding types is used for data type char in Java?
  • (A) ASCII
  • (B) ISO-LATIN-1
  • (C) UNICODE
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) UNICODE
πŸ“Š JAVA
Q. Which of these values can a boolean variable contain?
  • (A) True & False
  • (B) 0 & 1
  • (C) Any integer value.
  • (D) Both a & b
πŸ’¬ Discuss
βœ… Correct Answer: (A) True & False
πŸ“Š JAVA
Q. Which one of the following is a valid identifier in java?
  • (A) x1
  • (B) 1x
  • (C) $x
  • (D) x 1
πŸ’¬ Discuss
βœ… Correct Answer: (A) x1
πŸ“Š JAVA
Q. Which operator is used to implement unsigned right shift of an integer?
  • (A) <<
  • (B) >>
  • (C) <<<
  • (D) >>>
πŸ’¬ Discuss
βœ… Correct Answer: (D) >>>