Tag: programming languages

Questions Related to programming languages

Property return type can not be void?

  1. True

  2. False


Correct Option: A
  1. A static member function can access only static member data, static member functions and data and functions outside the class.

  2. A static member function can be called, even when a class is not instantiated

  3. A static member function cannot be declared virtual

  4. A static member function can have access to the 'this' pointer of the class


Correct Option: D
  1. Mary Bellis

  2. Willam brothers

  3. James Gosling and others

  4. Patrick Gill and others


Correct Option: C
  1. Oak tree

  2. Duke

  3. Water falls

  4. Teacup


Correct Option: B