0

programming languages Online Quiz - 33

Description: programming languages Online Quiz - 33
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

Which of these below are java key words?

  1. new

  2. break

  3. default

  4. goto


Correct Option: A,B,C
  1. int = 32-bit signed

  2. float = 32-bit IEEE 754 floating point

  3. long = 64-bit signed

  4. short = 18-bit signed


Correct Option: A,B,C
  1. public

  2. synchronise

  3. private

  4. transient


Correct Option: A

" ?: " is a

  1. Conditional operator

  2. assignment operator

  3. bitwise operator

  4. none


Correct Option: A
  1. java.lang.object

  2. java.lang

  3. none

  4. java.lang.string


Correct Option: A
  1. When a class is not to be instantiated,

  2. declare a method without providing the implementation

  3. cannot use a field declared abstract

  4. none


Correct Option: A,B

Which is not a part of java

  1. final

  2. finally

  3. finalize

  4. finalised


Correct Option: D
  1. one level

  2. two levels

  3. multiple levels

  4. none


Correct Option: A

assuming all the variables are declared and initialied properly , will the below line compile? for (i=3,j=76;i>589;j++,i++){}

  1. Yes will compile

  2. no doesnot compile

  3. changes have to be made in checking the variables

  4. none


Correct Option: A

Using the "Super" keyword we can go one level up (T/F)

  1. True

  2. False


Correct Option: A

" ?: " is a conditional Operator (T/F)

  1. True

  2. False


Correct Option: A

Can you automatically convert long value into int , if the long value is small enough to fit into an int.

  1. True

  2. False


Correct Option: A
- Hide questions