| 9. | Which of the following should be used to implement a 'Has a' relationship between two entities?
|
|||||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 10. | What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication |
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 11. | Which statement will you add in the function fun() of class B, if it is to produce the output "Welcome to IndiaBIX.com!"? namespace IndiabixConsoleApplication |
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 12. | What will be the size of the object created by the following C#.NET code snippet? namespace IndiabixConsoleApplication |
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 13. | Which of the following statements are correct about the C#.NET code snippet given below? namespace IndiabixConsoleApplication 1 count should be declared as public if it is to become available in the inheritance chain. 2 count should be declared as protected if it is to become available in the inheritance chain. 3 While constructing an object referred to by i firstly constructor of index class will be called followed by constructor of index1 class. 4 Constructor of index class does not get inherited in index1 class. 5 count should be declared as Friend if it is to become available in the inheritance chain. |
|||||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 14. | Which of the following statements should be added to the subroutine fun( ) if the C#.NET code snippet given below is to output 9 13? class BaseClass |
|||||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 15. | Which of the following can be facilitated by the Inheritance mechanism? 1 Use the existing functionality of base class. 2 Overrride the existing functionality of base class. 3 Implement new functionality in the derived class. 4 Implement polymorphic behaviour. 5 Implement containership. |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
