Predict the output
import java.lang.*;

public class sookshmas
{
    public static void main(String[] args) 
   {
      boolean bool1,bool2;
      char s1, s2;
      s1 = '';
      s2 = '&';
      
      boolean ex=Character.isDigit(s1);
      if(ex)
      System.out.println( "True");
      else
      System.out.println( "False");
 
      bool1 = Character.isMirrored(s1);
      bool2 = Character.isMirrored(s2);

      System.out.println( s1 +" is a mirrored character = " + bool1);
      System.out.println( s2 +" is a mirrored character = " + bool2);
   }
}

Posted on by
Predict today's top self-learner and win assured reward | It's FREE | JUST A CLICK REQUIRED.Predict