会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ZLey
博客园
首页
新随笔
联系
订阅
管理
2022年12月9日
JAVA_基础知识_值传递和引用传递
摘要: 值传递: 1 public class Demo01 { 2 public static void main(String[] args) { 3 int a=10; 4 System.out.println(a); 5 Demo01.change1(a); //调用函数改变a的值结果仍然不变 6
阅读全文
posted @ 2022-12-09 16:54 ZLey
阅读(10)
评论(0)
推荐(0)
编辑
公告