Tag: programming languages

Questions Related to programming languages

  1. method

  2. garbage collection

  3. finalizer

  4. Constructor

  5. none of the above


Correct Option: D
  1. It must have a package statement

  2. It must be named Test.java

  3. It must import java.lang

  4. It must declare a public class named Test


Correct Option: B
  1. Local to the file in which its allocated.

  2. Local to the function in which its allocated.

  3. Local to the block in which its allocated.

  4. Global


Correct Option: D
  1. null pointer

  2. wild pointer

  3. Dangling pointer

  4. None of the above


Correct Option: C
  1. Pointer to an array of 10 integers.

  2. A pointer to function returning an array of 10 integers.

  3. Array of 10 function pointers returning int

  4. Array of 10 integer pointers.


Correct Option: A