Tag: programming languages

Questions Related to programming languages

Multiple choice technology programming languages
  1. It will print -10

  2. It will result in Assertion Error showing the message -"The value must not be negative".

  3. The code will not compile.

  4. None of these.

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology programming languages
  1. Prints : "I am false interface" followed by " I am false String"

  2. Prints : "I am true interface" followed by " I am true String"

  3. Prints : "I am true interface" followed by " I am false String"

  4. Compile-time error

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology programming languages
  1. Prints : MyThread: start() followed by MyRunnable:run()

  2. Prints : MyThread: run() followed by MyRunnable:start()

  3. Prints : MyThread: start() followed by MyRunnable:start()

  4. Compile time error

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. 15 0 20

  2. 15 0 15

  3. 20 0 20

  4. 0 15 20

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. 300

  2. 240

  3. 120

  4. Compilation error

Reveal answer Fill a bubble to check yourself
A Correct answer