摘要:        
package com.itheima.anli; public class Anli1 { public static void main(String[] args) { calculate(1000,8,"经济舱"); System.out.println( calculate(1000,8,    阅读全文
        
            posted @ 2024-02-29 22:07
小彭先森
阅读(24)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
package com.itheima.Method;public class Method6 { public static void main(String[] args) { int[] arrs=new int[]{2,5,6,4}; printArray(arrs); } public s    阅读全文
        
            posted @ 2024-02-29 21:46
小彭先森
阅读(48)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
基本类型的参数传递: 关键点:传的只是值传递,值传递:传输的是实参存储的值的副本 引用类型的参数传递:传递的是地址,是对象    阅读全文
        
            posted @ 2024-02-29 21:06
小彭先森
阅读(11)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
方法被调用时,是进入到栈内存中运行的。    阅读全文
        
            posted @ 2024-02-29 20:35
小彭先森
阅读(12)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
方法设计技巧: package com.itheima.Method; public class Method3 { public static void main(String[] args) { System.out.println(sum(10)); pan(5); } public stat    阅读全文
        
            posted @ 2024-02-29 20:27
小彭先森
阅读(14)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
方法使用需要注意的常见问题 package com.itheima.Method; public class Method2 { public static void printhelloworld1(){ System.out.println("hello world!"); } public s    阅读全文
        
            posted @ 2024-02-29 20:13
小彭先森
阅读(26)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
‘    阅读全文
        
            posted @ 2024-02-29 19:46
小彭先森
阅读(9)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号