What is method chaining in Java?
-
A
Calling a method from within another method of a different class
-
B
Calling multiple methods sequentially on the same object by returning `this`
-
C
Defining methods in a chain of inheritance
-
D
Overloading a method more than three times