wrapper class in java is done to wrap up some object/primitive and give some efficient functionality and easy usage.
we have many wrapper classes in java API like Integer, Double, BufferedWriter.
BufferedWriter class is a wrapper for FileWriter which is efficient than FileWriter as this reads large chunks of data from file thus, minimising frequent access to file (IO Operations are slower and expensive) and also provides some new functionalities.
Duke Stars :) ?