Calling methods on an anonymous object in Java

后端 未结 0 546
终归单人心
终归单人心 2020-12-11 19:13

I know the following code is valid. It makes the object and calls its fooMethod method.

new FooClass.fooMethod();

But based on t

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