Kellton Interview Question

write a code for method chaining.