Tag: programming languages

Questions Related to programming languages

Multiple choice technology programming languages
  1. The program does not compile because statement "test = test + test" is illegal.

  2. The program prints "abc"

  3. The program prints "abcabc"

  4. The class does not compile because the top level class cannot be protected.

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology programming languages
  1. Compiler Error

  2. EmpId is 0

  3. EmpId is 100

  4. Exception

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology programming languages
  1. p= 0

  2. p= 100

  3. Compiler Error

  4. Exception

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology programming languages
  1. Compiler Error

  2. name = TCS

  3. name = null

  4. Exception

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

  2. Compiler error

  3. p = 0

  4. Exception

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice programming languages java
  1. name = JAVA

  2. Compiler Error

  3. Exception

  4. name = null

Reveal answer Fill a bubble to check yourself
B Correct answer