COMPUTER SCIENCE AND ENGINEERING
COMPUTER ARCHITECTURE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Java Script
|
|
Google Apps Script
|
|
Python
|
|
Scratch
|
Detailed explanation-1: -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-2: -Classes provide a means of bundling data and functionality together. Creating a new class creates a new type of object, allowing new instances of that type to be made. Each class instance can have attributes attached to it for maintaining its state.
Detailed explanation-3: -A class is a code template for creating objects. Objects have member variables and have behaviour associated with them. In python a class is created by the keyword class . An object is created using the constructor of the class. This object will then be called the instance of the class.