Please ref this image url for my question.
constructor input with paraname:value
How to pass the constructor input like ‘paraname:value’
I can not pass the compile JDK 15 for ‘50_000’
How to do this?
Is this only for intellj ide?
Don’t write the parameter names when passing arguments to constructors or methods. The IDE will automatically add them for readability but they are nothing you type.
new Employee(50_000, 20)
Ok, I understand. Thanks your help.