这是什么意思"?

apm*_*apm 0 java constructor this

class ServerSocket{

   ....

   public ServerSocket(int port) throws IOException {
      this(port, 50, null);
   }

   ....
}
Run Code Online (Sandbox Code Playgroud)

我知道这个关键字用于表示活动对象或当前对象.在这段代码中,"this"的含义是什么?我得到这个代码(在这里)

Kon*_*kov 5

在你的代码片段中,this(port, 50, null)表示对同一个类中的构造函数的显式调用,该类具有三个参数,其中两个参数传递硬编码的参数(50null)