此次文章比较短,就记录我犯的一个错误,开门见山(大佬请忽略)
for mut k in 0..n {while xxx {k 1;}yyy;
}期望的逻辑是对k循环,但是在循环中,如果满足xxx条件,则k直接增加1.
同样开门见山&am…
1、栈区 public class Math {public int compute(){//一个方法对应一块栈帧内存区域int a l;int b 2;int c (a b)*10;return c;
}
public static void main(String[] args){Math math new, Math() ;math.compute() ;System.out.println("test");}}
栈是先进后出…