public class BinaryOr
{
public static void main(String[] args)
{
String str1="0101";
String str2="1011";
int c=0;
StringBuilder sb=new StringBuilder();
for (int i=0;i>1;
sb.insert(0,(char)(rbit+'0'));
}
if(c==1)
sb.insert(0,(char)'1');
System.out.println(sb.toString());
}
}
No comments:
Post a Comment