COMPUTER SCIENCE AND ENGINEERING
SOFTWARE ENGINEERING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
student
|
|
Tony
|
|
teacher
|
|
staff
|
Detailed explanation-1: -1. Which of the following is not type of class? Explanation: Only 9 types of classes are provided in general, namely, abstract, final, mutable, wrapper, anonymous, input-output, string, system, network. We may further divide the classes into parent class and subclass if inheritance is used.
Detailed explanation-2: -Explanation: The assignment of more than one function to a particular operator is called as operator overloading. 2. Which of the following is not a class method? Explanation: The three different class methods in Python are static, bounded and unbounded methods.
Detailed explanation-3: -Abstract classes cannot be instantiated, but they can be subclassed.
Detailed explanation-4: -For giving the class named student, which of the following is a valid construction constructor declaration for the class, the answer is going to be students with the brackets and then displaces.