Answer:
Option I.
Explanation:
(I) Option (I). is true. If a class accepts different argument type and the argument type provided is different then it will throw a error. The argument type provided and the argument expecting has to match for the compilation of the program without an error. So, option (I) is true.
(II) Option (II). is false. If the method doesn't return any value then the method declaration contains
as the return type.
(III) Option (III) is false. The method random() returns a double value with the number between 0.0 and 1.0 with 0.0 included in the range but 1.0 is not included in the range. The method returns value with positive side but not the negative side.
Coriander comes from<span> Morocco and Romania</span>
The "Find and Replace" feature automatically locates specific text and then replaces it with desired text.
Answer:
The constructor are executed when the constructor object are comes in the existence as per the general rule in the computer programming language. The constructor is the special type of the class function that basically perform the initialization of the each object in the computer science.
Then, the constructor initialized actual value of the member of an object are allocated to the given object in the system.
Answer:
try this
Explanation:
MSG1 DB 10,13,'enter any string:-$'
MSG2 DB 10,13,'converted string is:-$'
P1 LABEL BYTE
M1 DB 0FFH
L1 DB?
P11 DB 0FFH DUP<'$'>
DATA ENDS
DISPLAY MARCO MSG
MOV AH,9
LEA DX,MSG
INT 21H
ENDM
CODE SEGMENT
ASSUME CS: CODE,DS:DATA
START:
MOV AX,DATA
MOV DS,AX
DISPLAY MSG1
LEA DX,P1
MOV AH,0AH
INT 21H
DISPLAY MSG2
LEA SI,P1
MOV CL,L1
MOV CH,0
CHECK:
CMP[SI],61H
JB DONE
CMP[SI],5BH
UPR: SUB[SI],20H
DONE: INC SI
LOOP CHECK
DISPLAY P11
MOV AH,4CH
INT 21H
CODE ENDS
END START