Answer: Mutable variable
Answer: [digits][.digits][(E|e)[(+|-)]digits]
Answer: Displays “Infinity”
Answer: Division by zero
Answer: if(a!==null)
Answer: Both a and b are equal in value and type
Answer: Both false.toString() and String(false)
{
int num=2;
char b=2;
if(a==b)
return true;
else
return false;
}
Answer: true
function equalto()
{
int num=10;
if(num===”10”)
return true;
else
return false;
}
Answer: true
function compare()
{
int a=1;
char b=1;
if(a.tostring()===b)
return true;
else
return false;
}
Answer: true
int a==2;
int b=4;
int ans=a+b;
print(ans);
Answer: error
int a=1;
if(a!=null)
return 1;
else
return 0;
Answer: 1