问题描述
- java中把伪代码写成这样,语法有错误吗
-
public Class A {A a = new A ();
public a A () {
return a;}
解决方案
public A getA(){return this.a;};
时间: 2025-01-02 20:57:32
A a = new A ();
public a A () {
return a;}
public A getA(){return this.a;};