0

programming languages Online Quiz - 271

Description: programming languages Online Quiz - 271
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

We can only assign values for read only properties from the constructor?

  1. True

  2. False


Correct Option: A

In c-sharp we create indexers in place of parameterized property?

  1. True

  2. False


Correct Option: A

If no accessibility level is specified for property, a default level Public is used?

  1. True

  2. False


Correct Option: B

What is the return type of main() ?

  1. void

  2. int

  3. char

  4. long


Correct Option: B

Which is not a basic data type of C++ ?

  1. int

  2. char

  3. string

  4. float


Correct Option: C

Which is the most widely used and non-used storage class specifier ?

  1. static

  2. auto

  3. mutable

  4. register


Correct Option: B

When a function is declared __________________, the function is expanded at the calling block.

  1. friend

  2. virtual

  3. inline

  4. static


Correct Option: C

which of the following is not true for static member function ?

  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

The icon for java

  1. Oak tree

  2. Duke

  3. Water falls

  4. Teacup


Correct Option: B
- Hide questions