Using . operator Using direct name call by other methods of the same class Using inheritance All of theseAnswer: D) All of theseExplanation:All of the above-mentioned methods can be used to invoke a method in Scala.Discuss this Question ...
32. Which of the following inheritance strategy maps all of an entity's subclasses to the same table in the database? Table per class strategy Joined table strategy Single table strategy Answer:C) Single table strategy Explanation: Single table Strategy maps all of an entity's subclasses to th...
62. In which type of inheritance does one class act as a superclass for more than one sub-class?Hybrid inheritance Multiple inheritances Hierarchical inheritance Multilevel inheritanceAnswer: C) Hierarchical inheritanceExplanation:In Hierarchical inheritance one class act as a superclass for more than...
21. What is multiple inheritance in Perl?When more than two different inheritance takes place in a single program. When a class inherits more than two classes When two classes inherit properties from a single class None of theseAnswer: B) When a class inherits more than two classes...
Answer: C) Ext.define()Explanation:Ext.define() is used in Ext JS to define classes.Discuss this Question 20. Does Ext.js supports the inheritance concept?Yes NoAnswer: A) YesExplanation:Yes, ExtJS uses inheritance to allow you to construct new classes that inherit the attributes and ...
The instance Variable in Ruby begins with @ symbol.Discuss this Question 52. Which of the following inheritance does Ruby support?Multilevel Multiple Hierarchical Single All of the aboveAnswer: D) SingleExplanation:Ruby only supports single inheritance....
21. Which of the following OOPs concepts are supported in C++?Inheritance Encapsulation Abstraction PolymorphismOpation:1 and 2 1, 2, and 3 1, 2, and 4 All 1,2,3,4Answer: D) All 1,2,3,4Explanation:C++ supports the following OOPS concept:...