Computer Science, asked by ravindarreddy3363, 16 days ago

Choose the correct statement which depicts the difference between "==" and
"==="?
Select one:
O " ==" only compares type and “===" compares type
" ==" only compares values and "===" compares values and type
O" ==" only compares type and "==="compares values
O
O"==" only compares both values and type and "===" also compares both values and type​

Answers

Answered by vatsaldwi
0

Answer:

In one word, main difference between "==" and "===" operator is that formerly compares variable by making type correction e.g. if you compare a number with a string with numeric literal, == allows that, but === doesn't allow that, because it not only checks the value but also type of two variable,

Similar questions