28 May
Write a program to input principle, time and rate, then calculate simple interest using static methods using java. Static Methods: Static methods in Java that can be called without creating an object of class. They are referenced by the class name itself or reference to the Object of that class. Output of…