1 Star 0 Fork 0

BESTI.IS.JAVA2018/java-besti-is-djw20165328

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Example4_12.java 400 Bytes
一键复制 编辑 原始数据 按行查看 历史
class People {
float hello(int a,int b) {
return a+b;
}
float hello(long a,int b) {
return a-b;
}
double hello(double a,int b) {
return a*b;
}
}
public class Example4_12 {
public static void main(String args[]) {
People tom = new People();
System.out.println(tom.hello(10,20));
System.out.println(tom.hello(10L,20));
System.out.println(tom.hello(10.0,20));
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/BESTI-IS-JAVA-2018/java-besti-is-djw20165328.git
git@gitee.com:BESTI-IS-JAVA-2018/java-besti-is-djw20165328.git
BESTI-IS-JAVA-2018
java-besti-is-djw20165328
java-besti-is-djw20165328
master

搜索帮助