which is the advantage of encapsulation? question 30 options: only public methods are needed. making the class final causes no consequential changes to other code. it enables changes to the implementation without changing a class's contract and causes no consequential changes to other code. it enables changes to a class's contract without changing the implementation and causes no consequential changes to other code.