Anything declared in a method of Java is local (except in some special cases), is that right?

后端 未结 0 1400
走了就别回头了
走了就别回头了 2021-02-09 12:18
public class Triangle {
double area;
int height;
int length;
public static void main(String [] args) {
    int x = 0;
    Triangle [ ] ta = new Triangle[4];
    while (          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题