我有一支农艺班。
@Immutable
class StatusCode {
final int statusCode
}
I want to create an object of this class in another Java class say, Test.Java. But when I use,
public class Test{
StatusCode statusCode;
public void setStatusCode(int statusCode)
{
this.statusCode = new StatusCode(statusCode);
}
}
它说,建筑商失踪。 我怎么说?