Java / Methods
Explain method chaining in Java.
Method chaining is a mean by which fluent API could be used so that multiple setters on a method be invoked continuously by just using dot(.) that improves readability and less code.
To achieve method chaining update the setters to return the object instance or by using this keyword.
More Related questions...