Tag: programming languages

Questions Related to programming languages

  1. It is possible for a program to free memory at a given time.

  2. Garbage Collection feature of Java ensures that the program never runs out of memory.

  3. It is possible for a program to make an object available for Garbage Collection.

  4. The finalize method of an object is invoked before garbage collection is performed on the object.


Correct Option: C,D
  1. The beginning of the class definition.

  2. The end of the class definition.

  3. Anywhere in the class definition.

  4. None of the above


Correct Option: B
  1. MAKESTRINGRESOURCE.

  2. MAKEFLOATRESOURCE.

  3. MAKECHARRESOURCE.

  4. MAKEINTRESOURCE


Correct Option: D
  1. CWnd class

  2. CWinApp class

  3. CWinThread class

  4. None of the above


Correct Option: B