Tag: programming languages

Questions Related to programming languages

  1. class

  2. interface

  3. package

  4. data type


Correct Option: B
  1. Pre Hypertext Processor

  2. Preprocessor Hypertext

  3. Hypertext Preprocessor

  4. Processor Hypertext Pre


Correct Option: C
  1. print and display

  2. display and echo

  3. println and display

  4. echo and print


Correct Option: D
  1. Compilation error

  2. Runtime error

  3. a being 3.5

  4. a being 3


Correct Option: A
  1. Compilation error

  2. Runtime error

  3. Runtime exception

  4. No error


Correct Option: D
  1. Compilation error: Divisions must be in a try block.

  2. Compilation error: DivideByZeroException

  3. Runtime Exception - correct answer

  4. No Error: a is NaN


Correct Option: C
  1. Compilation error: Divisions must be in a try block

  2. Compilation error: DivideByZeroException

  3. Runtime Exception

  4. No Error: a is NaN


Correct Option: D