Exam 1: Java Programming Language

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of these values can a boolean variable contain?

Free
(Multiple Choice)
4.7/5
(41)
Correct Answer:
Verified

A

Which is a valid float literal?

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

D

What is the value of the expression 8 << 2 ?

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

B

Which one of the following is a valid identifier in java?

(Multiple Choice)
4.8/5
(33)

Which of these is necessary condition for automatic type conversion in Java?

(Multiple Choice)
4.8/5
(42)

The keyword used to create a constant variable

(Multiple Choice)
4.8/5
(31)

Which of the following loops will execute the body of loop even when condition controlling the loop is initially false?

(Multiple Choice)
4.8/5
(38)

Java source files are compiled and converted to

(Multiple Choice)
4.8/5
(29)

JVM is ___________for bytecode.

(Multiple Choice)
4.8/5
(45)

Which one of the following is a jump statement in java?

(Multiple Choice)
4.8/5
(37)

What is the numerical range of a char in Java?

(Multiple Choice)
4.8/5
(35)

Which of these coding types is used for data type char in Java?

(Multiple Choice)
4.9/5
(31)

Which of these are selection statements in Java?

(Multiple Choice)
4.8/5
(36)

Which operator is used to implement unsigned right shift of an integer?

(Multiple Choice)
4.8/5
(35)

What is the error in this code? Byte b = 50; B = b * 50;

(Multiple Choice)
4.8/5
(42)

Which of these selection statements test only for equality?

(Multiple Choice)
4.8/5
(42)

Which of the following statements about the Java language is true?

(Multiple Choice)
4.8/5
(35)

Which of these jump statements can skip processing remainder of code in its body for a particular iteration?

(Multiple Choice)
4.9/5
(31)

Who is considered as the creator of JAVA ?

(Multiple Choice)
4.8/5
(31)

What is stored in the object obj in following lines of code? Box obj;

(Multiple Choice)
4.8/5
(44)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)