Tag: programming languages

Questions Related to programming languages

what are %classes

  1. System

  2. User defined

  3. parametrized

  4. Hidden


Correct Option: A
  1. %SerialObject

  2. %RegisteredObject

  3. %Persistent

  4. %Transient


Correct Option: B

Is multiple inheritance allowed?

  1. True

  2. False


Correct Option: B
  1. w var1

  2. w this.var1

  3. w ..var1

  4. w ..#var1

  5. w (classname).var1


Correct Option: D
  1. Clientdatatype

  2. Abstract

  3. super

  4. classtype

  5. final


Correct Option: A,B,C,D,E
  1. sqlupper

  2. sqlvarchar

  3. exact

  4. mvr

  5. truncate


Correct Option: A,C,D

select the correct options-

  1. Data type classes cannot be instantiated

  2. Data type classes can contain properties

  3. Data type classes automatically includes methods for validation and translation

  4. Data type classes cannot be inherited


Correct Option: A,C

select the correct options for - how are class keywords handled in multiple inheritance ?

  1. keywords are not inherted

  2. keywords from first superclass are inherited

  3. keywords from last superclass are inherited

  4. keywords from all superclasses are inherited


Correct Option: B