java代码使用按位运算符添加两个数字

编程入门 行业动态 更新时间:2024-10-11 17:23:31
本文介绍了java代码使用按位运算符添加两个数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

请告诉我java代码只使用按位运算符添加两个数字?我们可以在java OS中编写程序是linux,java5.0版本

please tell me java code to add two numbers with using bitwise operators only? can we write the program in java OS is linux, java5.0 version

推荐答案

请告诉我java代码仅使用按位运算符添加两个数字?我们可以在java OS中编写程序是linux,java5.0版本 please tell me java code to add two numbers with using bitwise operators only? can we write the program in java OS is linux, java5.0 version

即使没有if语句或喜欢?只有位操作?为什么不使用+运算符?

Even without if-statements or the likes? Only bit-operations? Why not just use the + operator?

请告诉我java代码只使用按位运算符添加两个数字?我们可以在java OS中编写程序是linux,java5.0版本 please tell me java code to add two numbers with using bitwise operators only? can we write the program in java OS is linux, java5.0 version

你可以通过google搜索bitwise Horsmeier来尝试一下*啊哈*。那个twit 不能写一个正常的可读语句;他所输入的一切都是难以理解的, 简洁,神秘的胡言乱语。 亲切的问候, Jos ;-)

You might give it a try by googling for "bitwise Horsmeier" *ahem*. That twit can''t write one normal readable statement; everything he types is unreadable, terse, cryptic gibberish. kind regards, Jos ;-)

您可以通过Google搜索bitwise Horsmeier来试一试... You might give it a try by googling for "bitwise Horsmeier" ...

Bit-voodoo! ; ) ......

Bit-voodoo! ; ) ......

更多推荐

java代码使用按位运算符添加两个数字

本文发布于:2023-11-30 07:56:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1649260.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:运算符   两个   代码   数字   java

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!