Solved Provide The Java Code Fragments For The Methods

Solved Provide The Java Code Fragments For The Methods