General Questions

Question 11 :

Which of the following is true concerning the following statement: class Manager extends Employee


A). Manager is a concrete class and a superclass.
B). Manager is a concrete class and a subclass.
C). Manager is an abstract class and a superclass.
D). Manager is an abstract class and a subclass.
Answer : Option B

Question 12 :

Which of the following is an ordered collection of elements of the same type?


A). Set
B). Bag
C). List
D). Dictionary
Answer : Option C

Question 13 :

A relationship should be specified how in the ODL?


A). One direction starting with the first class
B). One direction starting with the second class
C). Neither direction.
D). Both directions.
Answer : Option D

Question 14 :

Using OQL, you may do which of the following?


A). Return an entire collection of elements including duplicates.
B). Return a collection of elements without duplicates.
C). Return a specific subset of elements using a given criteria.
D). All of the above.
Answer : Option D

Question 15 :

The Object Query Language is which of the following"?


A). Similar to SQL and uses a select-from-where structure
B). Similar to SQL and uses a select-where structure
C). Similar to SQL and uses a from-where structure
D). Not similar to SQL
Answer : Option A