Answer:
a. Partly True
b. True
Explanation:
(a) "new" keyword or syntax is used for the constructors while working in Perl and Moose object system for Perl.
For Visual Basics .Net, keyword "New" is used
For Python, "___new___" is used which allocates memory for instance and receives class as an argument.
For Objective-C, "alloc" and "init" are used for constructor method. "alloc" allocates memory for the instance and "init" handles the bulk of initializing the instance. Whereas, the "new" keyword calls both "alloc" and "init" for class instance.
(b) A constructor does not return any value because it is called by the memory allocation and object initialization code in the runtime and not directly by your code.
Diigo is social bookmarking website
Answer: A) Constants
B) Variable
Explanation: The two basic type of operands are-
A) Constants-
constants are the value that do not change once they are defined.
As for example 5+3, here 5 and 3 are operands and + is an operator.
B) Variable-
It represents a symbolic variable name which helps in storing information in memory.
In A×B, A and B are two operands of variable type whose value can change and it is defined by user or some other dependent operation and × is a operator.