Tag: programming languages

Questions Related to programming languages

Which of the following statements related to Garbage Collection are correct.

  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

The fundamental classes of MFC are declared in which of the following header file?

  1. stdio.h

  2. iomanip.h

  3. afcapp.h

  4. afxwin.h


Correct Option: 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

What is the latest SAS version?

  1. V9.1

  2. V9.1.3

  3. V9.2

  4. V9.2.1


Correct Option: C