You are developing a simple currency converter application in Java. The application should be able to convert an amount from USD to INR based on the exchange rate.
Implement a Converter
class with the following attributes:
exchangeRate
(DataType:- double) - The exchange rate between USD and INRThe class should have methods for:
The main method demonstrates the usage of the converter to convert an amount from USD to INR.