title: Checking if condition for 'null'
body: <p>I have a doubt regarding checking null condition.For eg : </p>
  
  <pre><code>if(some conditon)
  value1= value;  //value1 is string type
  else 
  value1= "";
  </code></pre>
  
  <p>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</p>
  
  <pre><code>if(value1 == null)
  {
  }
  </code></pre>
  
  <p>but the pgm control didnot entered the loop eventhough value1="".
  then i tried </p>
  
  <pre><code>if(value1 ==""){
  } 
  </code></pre>
  
  <p>this also didnt worked.</p>
  
  <p>Cant we check null and "" value as same??
  can anyone help me??</p>