I have a doubt regarding checking null condition.For eg :
if(some conditon)
value1= value; //value1 is string type
else
value1= "";
Similarly some 4 other string value has similar condition. What i need is i want to check whether all those 5 string value is null or not,Inorder to do some other specific part. i did it like this
if(value1 == null)
{
}
but the pgm control didnot entered the loop eventhough value1="". then i tried
if(value1 ==""){
}
this also didnt worked.
Cant we check null and "" value as same?? can anyone help me??
""is notnull