• 2022-06-09
    下面程序的运行结果( )public class Demo{public static int fun(int c){return c+=2;}public static void main(String[] args){int temp=fun(2);System.out.println(temp);}}
    A: 2
    B: 4
    C: 6
    D: 8