BansodThomasInner Class in JAVAA class defined inside another class is known as an inner class in Java. Members (fields and methods) of the outer class, including private…Mar 31Mar 31